Hello!
I'm trying to exactly match some strings like "c*". Example:
filter = LanguageFilter::Filter.new matchlist: ["c\*"]
puts filter.match?('This excerpt c* should match.')
puts filter.match?('But this c should not.')
I've tried the regexes c[*] and c\* (which works properly when testing them on Rubular) but they didn't work. 😕
Many thanks!
Hello!
I'm trying to exactly match some strings like "c*". Example:
I've tried the regexes
c[*]andc\*(which works properly when testing them on Rubular) but they didn't work. 😕Many thanks!