Skip to main content
Question

Regex Different Result FME vs Online

  • February 21, 2023
  • 3 replies
  • 15 views

tiztrain
Contributor
Forum|alt.badge.img+3

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+38
  • Influencer
  • 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
  • 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+3
  • Author
  • Contributor
  • 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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings