Rob Dixon wrote:
>
> John W. Krahn wrote:
> >
> > $TextBlockToConvert =~ s/"([^"]*)"/length $1 ? '"\1<\/Font>"' :
> > '""'/eg;
>
> Almost right! But the deprecated \1 in the replacement string won't
> work with the /e modifier: it needs to be $1. Although I'm sure you
> knew that.
Yes, but I di
Hello all...
I'm wanting to write a script that scans a file,
ignoring all lines until it reaches a certain
section, then processes all lines in that
section that are not comments, until it reaches
the end of that section.
The section would be designated like this:
## Beging Processing ##
## En
John W. Krahn wrote:
>
> Rodney Wise wrote:
>
> >
> > I'm trying to place HTML Tags around the contents of Quoted material.
> >
> > I'm using the following PERL code:
> > $TextBlockToConvert =~ s/"(.+?)"/"\1<\/Font>"/g;
> >
> > Below, is an example of problem text this code chokes on.
> >
> >
Rodney Wise wrote:
>
> I'm trying to place HTML Tags around the contents of Quoted material.
>
> I'm using the following PERL code:
> $TextBlockToConvert =~ s/"(.+?)"/"\1<\/Font>"/g;
>
> Below, is an example of problem text this code chokes on.
>
> Example Text:msgStop("", "Invali
I'm trying to place HTML Tags around the contents of Quoted material.
I'm using the following PERL code:
$TextBlockToConvert =~ s/"(.+?)"/"\1<\/Font>"/g;
Below, is an example of problem text this code chokes on.
Example Text:msgStop("", "Invalid date")
1. The 1st set of Quotes