On Wednesday 04 November 2015 13:55, Dan Sommers wrote: > On Tue, 03 Nov 2015 19:04:23 -0700, Michael Torrie wrote: > >> On 11/03/2015 05:33 PM, rurpy--- via Python-list wrote: >>> I consider regexs more fundemental. One need not even be a programmer >>> to use them: consider grep, sed, a zillion editors, database query >>> languages, etc. >> >> Grep can use regular expressions (and I do so with it regularly), but >> it's default mode is certainly not regular expressions ... > > Its very name indicates that its default mode most certainly is regular > expressions.
I don't even know what grep stands for. But I think what Michael may mean is that if you "grep foo", no regex magic takes place since "foo" contains no metacharacters. -- Steven -- https://mail.python.org/mailman/listinfo/python-list