mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Merge pull request #292 from github/regexp_slash_az
Don't parse `\A` and `\Z` as `RegExpConstant`
This commit is contained in:
@@ -146,10 +146,10 @@ regexp.rb:
|
||||
|
||||
# 19| [RegExpConstant, RegExpNormalChar] _
|
||||
|
||||
# 20| [RegExpConstant, RegExpEscape] \A
|
||||
# 20| [RegExpCaret] \A
|
||||
|
||||
# 20| [RegExpSequence] \A[+-]?\d+
|
||||
#-----| 0 -> [RegExpConstant, RegExpEscape] \A
|
||||
#-----| 0 -> [RegExpCaret] \A
|
||||
#-----| 1 -> [RegExpOpt] [+-]?
|
||||
#-----| 2 -> [RegExpPlus] \d+
|
||||
|
||||
|
||||
Reference in New Issue
Block a user