Skip to content

Commit

Permalink
Remove regexp ambiguity warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tancnle committed Mar 18, 2024
1 parent b656142 commit 56952bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/builtins/sqf.rake
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module Rouge
module Builtins
class SQF
def extract_keywords(input)
input.scrub.scan /(?<=\(").+?(?=")/
input.scrub.scan(/(?<=\(").+?(?=")/)
end

def render_output(keywords, &b)
Expand Down

0 comments on commit 56952bc

Please sign in to comment.