nappgui_src icon indicating copy to clipboard operation
nappgui_src copied to clipboard

Regular expression problem

Open SamSandq opened this issue 10 months ago • 1 comments

I am trying to match the following RegEx

RegEx *r1 = regex_create("\\d{1,3}[dwmy]");

but it's not accepted. As a matter of fact, it seems like your regexes are very limited, as e.g. the normal \d, \D, \s, or the alternative operator | are not accepted (and, to be honest, not mentioned in you documentation of your regular expressions either).

Is it really the case that you do not support full (normal) regular expressions as, e.g., in https://regex101.com, or supported by Python, Swift or other languages (via libraries, to be sure)?

If not, please implement full support.

SamSandq avatar Apr 05 '24 13:04 SamSandq

At the moment, NAppGUI regular expressions only accept these patterns: https://nappgui.com/en/core/regex.html#h1

frang75 avatar Apr 05 '24 13:04 frang75