in reply to Problem with regex
I tried this ($value) = $line =~ /.*test=(\d+)/; but this does not seem to be working.In which way does it "seem not to work"? As mentioned by two other monks, it should! As a side note /test=(\d+)/ should be perfectly equivalent to your code...
- Comment on Re: Problem with regex
- Download Code
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with regex
by Jasper (Chaplain) on Feb 03, 2005 at 11:53 UTC | |
by blazar (Canon) on Feb 03, 2005 at 12:06 UTC |