Skip to content

Cannot match characters when using the pattern [\S]+ #1536

Answered by bd82
BlackGlory asked this question in Q&A
Discussion options

You must be logged in to vote

Seems like a bug in RegExp to AST.

A whole characterSet can be marked as a complement, but the complement info of "negative" character escapes (\S, \D ...) are ignored.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@bd82
Comment options

@BlackGlory
Comment options

@bd82
Comment options

@bd82
Comment options

@bd82
Comment options

Answer selected by BlackGlory
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
Converted from issue

This discussion was converted from issue #1533 on June 09, 2021 16:14.