RegEx problem

This forum is ONLY for the new FFAStrans 1.0.0 beta versions. Any bug and issue reporting regarding the beta MUST be posted here.
Locked
ThomasM
Site Admin
Posts: 223
Joined: Wed Feb 22, 2017 6:36 am

RegEx problem

Post by ThomasM »

Hi folks,

In Version 1.0 I try to RegEx a string. The outcome shall only be numbers (5 or 6 digits). I tried in https://regexr.com/ several options and some come to the right output. But it seems not to work in FFAStrans.

For example I try to get this RegEx running in the populate Variables-node:

$regext("%s_right6%","(\d{5,6})")

where %s_right6% is a string containing "_00000" as an example. But it only returns "0" and not "00000" as expected.

Is it

a) a Bug in 1.0
or (more likely...)
b) my programming skills ;-) ?

Any help appreciated...

greetings,
tom
admin
Site Admin
Posts: 1658
Joined: Sat Feb 08, 2014 10:39 pm

Re: RegEx problem

Post by admin »

Hi Thomas,

This is a FFAStrans issue and it will be resolved for the next beta. Thanks for notifying! :-)

-steinar
ThomasM
Site Admin
Posts: 223
Joined: Wed Feb 22, 2017 6:36 am

Re: RegEx problem

Post by ThomasM »

...proud to be a little helper!

cheers and happy coding,
tom
Locked