RegExp "bug" - capitalization in filter bar
Posted: Wed Sep 18, 2002 4:19 am
regexp syntax is case sensitive, the filter bar capitalizes everything, crippling the regexp capabilities.
i.e. to find only multipart files, those with binary attachments, i would enter the following
\(\d+/\d+\)$
read: find any header that ends with an open parenth, one or more digits, whack, one or more digits and close parenth.
the cmb capitalizes the expression making it
\(\D+/\D+\)$
read: find any header that ends with an open parenth, one or more characters that are NOT digits, whack, one or more characters that are NOT digits and close parenth.
although there are work arounds for some clauses, in this case, [0-9]+ will work, but for some there are not, and without abbreviations, a lot of things are not possible.....
the regexp engine you are using is case insensitive, so i suspect the capitalization is cosmetic. any chance of changing this?
sky
salient solutions
i.e. to find only multipart files, those with binary attachments, i would enter the following
\(\d+/\d+\)$
read: find any header that ends with an open parenth, one or more digits, whack, one or more digits and close parenth.
the cmb capitalizes the expression making it
\(\D+/\D+\)$
read: find any header that ends with an open parenth, one or more characters that are NOT digits, whack, one or more characters that are NOT digits and close parenth.
although there are work arounds for some clauses, in this case, [0-9]+ will work, but for some there are not, and without abbreviations, a lot of things are not possible.....
the regexp engine you are using is case insensitive, so i suspect the capitalization is cosmetic. any chance of changing this?
sky
salient solutions