Code: Select all
text formatlist("ba|a[f]", "f", , "a[*");
I'm encountering this when trying to filter a list of filenames which contain square brackets.
Code: Select all
text formatlist("ba|a[f]", "f", , "a[*");
Code: Select all
text formatlist("ba|a[f]", "f", , "a[[]*");
Code: Select all
1: Handle open square brackets, i.e. convert "[" to "[[]" to allow matching "[". Without this conversion "[" and "]" are interpreted as group markers by the pattern parser.