Skip to content

Use PCRE MARK verb to identify token types#116

Open
thunderer wants to merge 1 commit intomasterfrom
regex-mark
Open

Use PCRE MARK verb to identify token types#116
thunderer wants to merge 1 commit intomasterfrom
regex-mark

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