-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
fish seems to broke the behavior of string match.
I'm trying to match the part of filename after _ and before .:
➜ string match -r "_([^_]*)\." "very_nice_file_whatmatter.csv"
_whatmatter.
whatmatter
➜ string match -r "_[^_]*\." "very_nice_file_whatmatter.csv"
_whatmatter.
I found this issue #4925, but the behavior there is different than what I got.
Not sure if it's the bug or a feature I'm missing.
fish, version 3.0.2
Reactions are currently unavailable