Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular expression problem #126

Open
SamSandq opened this issue Apr 5, 2024 · 1 comment
Open

Regular expression problem #126

SamSandq opened this issue Apr 5, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@SamSandq
Copy link

SamSandq commented Apr 5, 2024

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.

@frang75
Copy link
Owner

frang75 commented Apr 5, 2024

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

@frang75 frang75 self-assigned this Apr 5, 2024
@frang75 frang75 added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants