Re: split regex



Umesh T G wrote:
I tried like this,   where $line='*Options=-a"hello" -mt -ml3 -i"dir1\dir2"
-k -p -i"dir3\dir4" -m'*


This line won't compile. Which of the following is it?

$line='Options=-a"hello" -mt -ml3 -i"dir1\dir2" -k -p -i"dir3\dir4" -m';

$line='*Options=-a"hello" -mt -ml3 -i"dir1\dir2" -k -p -i"dir3\dir4" -m*';

Please test your code before posting.


--

Just my 0.00000002 million dollars worth,
   --- Shawn

"Probability is now one. Any problems that are left are your own."
   SS Heart of Gold, _The Hitchhiker's Guide to the Galaxy_
.



Relevant Pages

  • Re: Skip then print
    ... SS Heart of Gold, _The Hitchhiker's Guide to the Galaxy_ ...
    (perl.beginners)
  • Re: XML Help
    ... SS Heart of Gold, _The Hitchhiker's Guide to the Galaxy_ ...
    (perl.beginners)
  • Re: Count number of times matched
    ... SG Edwards wrote: ... SS Heart of Gold, _The Hitchhiker's Guide to the Galaxy_ ...
    (perl.beginners)
  • World of Warcraft Gold Creating Guide
    ... substantial amount. ... One, in particular, speeded up the process of earning gold ... I recently bought a World of Warcraft guide to make more gold. ...
    (rec.games.roguelike.moria)
  • Re: I saw "The Grudge" on TV
    ... Universe and everything, checking the Hitchhiker's guide to the Galaxy ... After I saw the movie, in my mind I can still see that girl sitting in the bed with her head turning around and hear her speaking with that croaky voice. ...
    (alt.2600)