-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
PCRE2 broke assign and for_windows #6886
Comments
I have written this code to compare pcre and pcre2 (grabbed the respective code from Sway):
|
Should the PCRE2 merge be backed out until this is resolved? |
Seem like pcre2 will always return value >= 1 if matched. From pcre2_match man page
And from pcre_exec man page
Trying "dis(cor)d" with pcre2 returned 2 instead of 1 and pcre is still returning 0. |
Related, I get "no matching node" when trying to match against marks (e.g. |
Changing tested with Here is the diff |
@Billli11 Your patch works on my end :) |
@Billli11 can you submit a PR? |
Please fill out the following:
broken version
sway version 1.8-dev-f614f35e (Mar 12 2022, branch 'master')
working version
sway version 1.8-dev-04676936 (Mar 12 2022, branch 'master')
installed via arch AUR sway-git
Debug Log:
sway.log
Description:
The latest commit broke assign and for_windows .
The command now do nothing.
sway seem to accept the message but when opening the windows with matching criteria nothing happen.
here is some of the command tried.
those command is working when built without this commit
The text was updated successfully, but these errors were encountered: