Find Files using Regular Expressions
Posted: 16 Aug 2004 09:59
In my inexhaustive struggle for happy customers I decided to add Regular Expressions (aka RegExp) as an additional way to define search patterns in Find Files.
In order to keep the interface as light as possible, and also to avoid the necessity of having two separate pattern histories (one for the "normal" pattern syntax, and another one for RegExp -- the two syntaxes will not be mixable), I generated the following idea: RegExp patterns will simply be prefixed by ">".
Examples:
cat & dog will be automatically treated as normal pattern.
>(\w{12}) will be automatically treated as RegExp pattern (excluding the ">" of course).
I think it's cool. Any objections?
Donald
In order to keep the interface as light as possible, and also to avoid the necessity of having two separate pattern histories (one for the "normal" pattern syntax, and another one for RegExp -- the two syntaxes will not be mixable), I generated the following idea: RegExp patterns will simply be prefixed by ">".
Examples:
cat & dog will be automatically treated as normal pattern.
>(\w{12}) will be automatically treated as RegExp pattern (excluding the ">" of course).
I think it's cool. Any objections?
Donald