-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
bug ? addToken not work when XRegExp(pattern: RegExp) #240
Comments
I think this is expected (or at least, somewhat documented) behavior. From Lines 544 to 545 in 956747f
You should be able to work around it by using |
@jfahrenkrug does official xregexp will do something like? and how can post code like u do? |
Yeah, as @josephfrazier said, this is intentional and documented (though perhaps the documentation could be more explicit). The way this works is that when you use Note that |
Based on what @slevithan said above, it sounds like we want to preserve the performance characteristics of not reparsing
Hmm, it seems like you did it correctly: https://blog.github.com/2017-08-15-introducing-embedded-code-snippets/ Maybe it only works for links to the repo being commented on... |
bug ? addToken not work when XRegExp(pattern: RegExp)
The text was updated successfully, but these errors were encountered: