One Star

java.util.regex.PatternSyntaxException: Unclosed character class

Hi,
i hve the following expression in my t-map component:
row2.column0.matches("^(\\d**\\d*)")?row2.column0:"" 

I get an exception with this expression:
Exception in component tMap_1
java.util.regex.PatternSyntaxException: Unclosed character class near index 21
^(\d**\d*)
                            ^

but i can't see my mistake...
3 REPLIES
Moderator

Re: java.util.regex.PatternSyntaxException: Unclosed character class

Hi littledirk,
Have you tried to switch to "Code" view to see if there is any error line in java code?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: java.util.regex.PatternSyntaxException: Unclosed character class

I'll check that.
Moderator

Re: java.util.regex.PatternSyntaxException: Unclosed character class

Hi,
You can post the screenshot of error line in java code into forum. We will check it for you.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.