scsh-users
[Top] [All Lists]

scsh regexp greediness

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>