Skip to main content
Question

Regex Different Result FME vs Online

  • February 21, 2023
  • 3 replies
  • 18 views

tiztrain
Contributor
Forum|alt.badge.img+6

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

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3422 replies
  • February 21, 2023

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


david_r
Celebrity
  • 8391 replies
  • February 21, 2023

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.


tiztrain
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • 10 replies
  • February 21, 2023

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