Skip to content

Failing at managing overlapping patterns with priority #367

Answered by Woundorf
rpdelaney asked this question in Q&A
Discussion options

You must be logged in to vote

Because in Wikipedia NFT is inside <b> tags, but the parentheses are outside:

Since substitutions are applied element by element, your second regex does not match.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rpdelaney
Comment options

@Woundorf
Comment options

Answer selected by rpdelaney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants