-
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
Capture variables from successful combination of submatches #493
Comments
This is... LLVM's FileCheck, yeah? Doesn't that use LLVM's regular expression engine implementation? |
Apologies, this is Google's effcee (re2 is a dependency) - I was hoping there might be a way of using the likes of regex submatches to achieve the desired outcome, but wasn't sure. If it's better to post there, then apologies - I can close this and post there instead. |
Ahh. Yeah, this would be something for that project to consider supporting. It's conceivable that they could collect the multiple values of |
Perfect. Thanks, Paul - appreciate the quick replies 👍 |
You're welcome. Good luck! :) |
Hi there,
Hopefully not a silly question, but is there a way to capture the variables of a successful combination of sub-matches?
For example, if I use the following made-up SPIR-V:
...the following checks will return
false
......despite
OpStore %end %16
being a possibility.Is there a better syntactical way to capture all possible versions of
LOADED
and return success if a match is found (instead of stopping after the first match)?The text was updated successfully, but these errors were encountered: