Skip to content

Commit

Permalink
Try skipping $ signs in USDT specs
Browse files Browse the repository at this point in the history
  • Loading branch information
theihor committed Feb 14, 2025
1 parent 68bb92d commit a1994e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/check-match.awk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function glob_to_regex(pat)
gsub(/\\/, "\\\\", pat); # Escape backslashes
gsub(/\./, "\\.", pat); # . -> \. (escape dot)
gsub(/\+/, "\\+", pat); # + -> \+ (escape plus)
gsub(/\$/, "\\$", pat); # $ -> \$ (escape dollar sign)
gsub(/\$/, "\\$?", pat); # $ -> \$ (escape dollar sign and make it optional)
gsub(/\^/, "\\^", pat); # ^ -> \^ (escape caret)
gsub(/\(/, "\\(", pat); # ( -> \(
gsub(/\)/, "\\)", pat); # ) -> \)
Expand Down

0 comments on commit a1994e6

Please sign in to comment.