Skip to content

Why does "^[./]" match "../"? #144

Discussion options

You must be logged in to vote

The regular expression [./] is the character set that includes a . and /, so it's just looking for anything that has a period or slash as the first character.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PaulRBerg
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