| To: | scsh-news@zurich.ai.mit.edu |
|---|---|
| Subject: | scsh regexp greediness |
| From: | stktrc <stktrc@yahoo.com> |
| Date: | Fri, 13 Dec 2002 03:14:34 +0100 |
| Organization: | News UmU SE |
I've looked through the scsh manual, but could find anything on regular expression greediness. I'd need a regular expression to match as little (soon) as possible instead of as late (much) as possible. In Perl regexps it's done using a question mark after the quantifier ([a-z]* becomes [a-z]*?) IIRC. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | let-match mvars, stktrc |
|---|---|
| Next by Date: | Re: let-match mvars, Michel Schinz |
| Previous by Thread: | let-match mvars, stktrc |
| Next by Thread: | Re: scsh regexp greediness, RT Happe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |