|
From: | Andrew E. Kalman |
Subject: | Re: expr, regular expressions and '^' ... |
Date: | Sat, 20 Nov 2004 01:50:18 GMT |
User-agent: | Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6) Gecko/20040113 |
Jim and Paul:
$ expr 'sfiaravrt-7s-sf' : '.*\(-7s\)' -7s
Ah, of course!"Undo" the effect of the start anchor by matching any number of any single char, starting from the start of the string.
Thank You Thank You Thank You! ------------------------------------------------------ Andrew Kalman aek at pumpkin inc dot com
[Prev in Thread] | Current Thread | [Next in Thread] |