Skip to content

Regular Expressions --regex #523

Closed Answered by RhetTbull
oPromessa asked this question in Q&A
Discussion options

You must be logged in to vote

@oPromessa I can confirm you found a bug. It's now fixed in v0.42.92 so you can now use multiple --regex values and get the expected behavior.

Regarding your question on which regex syntax can be used, any valid python regex should work. You can specify case-insensitivity using the -i, --ignore-case flag. The example you gave "2020-[01][09]" may not do what you think it's doing. This says match 2020- followed by any character in the set {0,1} then any character in the set {0,9} so the following would match: 2020-00, 2020-09, 2020-10, 2020-19.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@RhetTbull
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by oPromessa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants