AkkaNotes_Messaging icon indicating copy to clipboard operation
AkkaNotes_Messaging copied to clipboard

Glob pattern used instead of regular expression

Open janvanmansum opened this issue 9 years ago • 1 comments

At this line you are using the pattern QuoteResponse*. You probably intended QuoteResponse.*. QuoteResponse* means QuoteRespons followed by e zero or more times. If EventFilter.info took a glob pattern it would have the intended meaning, but since it takes a regex the pattern should be QuoteResponse.*

Great examples, by the way. Thanks!

janvanmansum avatar Oct 16 '15 14:10 janvanmansum

Actually, come to think of if, the .* doesn't even serve any purpose in this case; the pattern QuoteResponse will suffice.

janvanmansum avatar Oct 18 '15 08:10 janvanmansum