You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sure this is quite simple, but I have a mode that should start with @{ and end with }@, and should accept anything else inside including }. My tokens are as below. How would I define the pattern for my Gate token ?
You can probably use something like (?:(?!}@).)*. It uses a negative lookahead group (?!) to prevent matching }@ and then attempts to match any character .. This is repeating until it arrives at the end of the input or the }@ sequence.
Activity
msujew commentedon Nov 16, 2023
You can probably use something like
(?:(?!}@).)*. It uses a negative lookahead group (?!) to prevent matching}@and then attempts to match any character.. This is repeating until it arrives at the end of the input or the}@sequence.