We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a11dbb1 commit a6c7c41Copy full SHA for a6c7c41
lib/rexml/source.rb
@@ -18,6 +18,16 @@ def scan(pattern)
18
pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String)
19
super(pattern)
20
end
21
+
22
+ def match?(pattern)
23
+ pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String)
24
+ super(pattern)
25
+ end
26
27
+ def skip(pattern)
28
29
30
31
32
33
using StringScannerCheckScanString
0 commit comments