🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"Correct regEx in expression builder not accepted"

User: "kypexin"
New Altair Community Member
Updated by Jocelyn

Hi rapidminers, 

 

Can someone suggest why this regex:

 

[a-zA-Z\u0080-\u024F\s\-\`\']+

 

is not accepted in expression builder? It is correct and validated via multiple online checkers.

 

Screenshot 2017-10-17 19.11.41.png

 

RapidMiner 7.6.001 under Windows. 

 

thanks.

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Telcontar120"
    New Altair Community Member
    Accepted Answer

    Yes, it's just different implementations of regex.  In the java version, the "\" is a special character so it needs to be declared with the special escape character for that, which also happens to be "\".  That's why you need "\\".  If you were wanting to use other regex special characters (like ?,+,., etc.) you would also need to preface them with "\" in RapidMiner.  So it's not the doubling of the character that matters, just the preface with "\".