Question

Regex Different Result FME vs Online

  • 21 February 2023
  • 3 replies
  • 1 view

I am building a simple regex expression which extracts the letters of the alphabet including the letters with accents. What I am having trouble with is using FME's regex editor vs the online one and the conflicts.

 

The example below I have screenshots of regex101 online and FME regex editor and they both show different results for the expression:

[a-zA-Z\\sčćđšž]+

 

RegexExpressionsFMERegexExpressionsRegex101I need help understanding why is this and what to do to get around this issue?

Also, how do you apply regex flags?


3 replies

Userlevel 1
Badge +21

Have you actually tried running the regex? I think this is an error in the regex editor only and running will give you the same result as you see in regex101

Userlevel 4

Looks like there's a small bug in the test string preview. When you try running the regex in FME, it should work as expected.

Using 2021.1 workbench so it has probably been fixed. Spent so much time trying to figure it out and this is all it is ha. Thanks guys

Reply