Ambimind Posted November 28, 2022 Report Share Posted November 28, 2022 Ketarin exploits regular expression capture groups to return characters isolated from a larger matched set(example and explanation). A problem arises when one requires the use of capture groups for one of their original intended uses - "back references". The animation below demonstrates the problem and solution : Wrap the whole expression in parenthesis and increment any back references by 1. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now