Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glob pattern used instead of regular expression #1

Open
janvanmansum opened this issue Oct 16, 2015 · 1 comment
Open

Glob pattern used instead of regular expression #1

janvanmansum opened this issue Oct 16, 2015 · 1 comment

Comments

@janvanmansum
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant