Re: Get regular expression
- From: "chornbe" <chris@xxxxxxxxxxx>
- Date: 22 Jun 2006 13:21:48 -0700
Mike wrote:
I have a regular expression (^(.+)(?=\s*).*\1 ) that results in
matches. I would like to get what the actual regular expression is.
In other words, when I apply ^(.+)(?=\s*).*\1 to " HEART (CONDUCTION
DEFECT) 37.33/2 HEART (CONDUCTION DEFECT) WITH
CATHETER 37.34/2 " the expression is "HEART (CONDUCTION DEFECT)". How
do I gain access to the expression (not the matches) at runtime?
Thanks,
Mike
Isn't the zero-th match (or group?) the string you're searching?
.
- References:
- Get regular expression
- From: Mike
- Get regular expression
- Prev by Date: Re: Get regular expression
- Next by Date: (More info) EnableVisualStyles breaks my program!
- Previous by thread: Re: Get regular expression
- Next by thread: collection class performance seems SLOOOWWWWWW
- Index(es):
Relevant Pages
|
Loading