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

RegEx gets no match #93

Open
wills721 opened this issue Dec 18, 2024 · 3 comments
Open

RegEx gets no match #93

wills721 opened this issue Dec 18, 2024 · 3 comments

Comments

@wills721
Copy link

wills721 commented Dec 18, 2024

Using this pattern:
char * pattern = "/([^=,])=("[^\"]"|[^,\"]*)/";

re-compile passes but I do not get a match on this data:
char * data = "aa=88,bb=99,cc=77";

Any help would be appreciated :)

@philip-h-dye
Copy link

philip-h-dye commented Dec 18, 2024 via email

@philip-h-dye
Copy link

philip-h-dye commented Dec 18, 2024 via email

@wills721
Copy link
Author

I had the escape chars wrong.....but you show the compilation working (I got that to succeed).....not the matching? Should re_matchp not have picked out aa and 88 and bb and 99 ... ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants