--- John Delacour <[EMAIL PROTECTED]> wrote:
> Can't you just use s///ge ?
[snip helpful example]
Now that I look that up, it should work fine. Thanks.
Yeah, I haven't really done enough higher end regexes
to know all the things that go after the last slash.
This is just what I was looking for :)
Can't you just use s///ge ?
#!/usr/bin/perl
@lines = split $/, <
At 1:20 am -0700 28/8/03, Nicholas Thornton wrote:
I have a regex I'm performing on a file that takes a
given string, manipulates it, and replaces the string
with the new string. I want this do be done
recursively on each line in cas
I have a regex I'm performing on a file that takes a
given string, manipulates it, and replaces the string
with the new string. I want this do be done
recursively on each line in case there are multiple
sections that need to be dealt with. I'm currently
using something like:
while(<$file>){