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

Use PCRE MARK verb to identify token types #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

thunderer
Copy link
Owner

This way RegularParser does not even need to have a switch block and convoluted logic to match given token type based on the structure returned from preg_match_all(), it's just token string and token type.

@thunderer thunderer self-assigned this Dec 20, 2024
@thunderer thunderer force-pushed the regex-mark branch 3 times, most recently from 95e8093 to 2bb93a6 Compare December 20, 2024 20:17
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

Successfully merging this pull request may close these issues.

1 participant