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

How to use the symbols literally? #30

Open
JulyAn1234 opened this issue May 15, 2023 · 1 comment
Open

How to use the symbols literally? #30

JulyAn1234 opened this issue May 15, 2023 · 1 comment

Comments

@JulyAn1234
Copy link

JulyAn1234 commented May 15, 2023

For example, I have this regex that works in Flex:
+|-|*|/|%|**|//|mod|÷

In flex the Backslash (for some reason this symbol is not showing once the issue is published) preceeding a character with a special meaning in a regex, makes said symbol literal. For example, in the regex above I literally mean a sequence of two asteriks ("**"). How can I do this here?

@Divide-By-0
Copy link

You can use my fork at https://zkregex.com/min_dfa and at https://github.com/Divide-By-0/dfa-toolbox! Waiting on merge still.

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