John Levon <[EMAIL PROTECTED]> writes: | On Wed, Nov 06, 2002 at 04:17:14PM +0100, Lars Gullik Bjønnes wrote: > >> >> | Regex search pattern: ^And >> >> >> >> try this: "^And.*" >> > >> | Thank you, Lars. Is there a flag I can pass to boost::regex_match that >> | enables "^And" to succeed? Not boost::match_any anyway. >> >> That is not really how regexps work... > | Huh ? Since when ?
since always I guess... try this: find . -name b and this find . -name b\* (in a dir that has a file beginning with 'b') | If this was the case, the '$' anchor would not be | useful. Sure it would. -- Lgb