Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- How to parse with regular expression...
May 5, 2005, 10:33 am
rate this thread
Is there any module can solve the following problem ?
I have a file containing the following in multiple line with "\" operator:
-begin [yyy[xxxx]zz] -through [xxxxx \
] -end [xxxxx [yy zz] \
And I want to add some contents before and after the bracket  if
has the keyword "begin" "end"
Hence, the results should look like
-begin +++++[yyy[xxxx]zz]+++++ -through [xxxxx \
] -end +++[xxxxx [yy zz] \
Re: How to parse with regular expression...
> Is there any module can solve the following problem ?
Check out Regex::Common if you think your problem is common enough...
> I have a file containing the following in multiple line with "\" operator:
> -begin [yyy[xxxx]zz] -through [xxxxx \
And please stop spamming our groups with this!
You got a reply to your first post in clpmisc.
Post a *follow-up* if you didn't find it clear enough.
- » Problems installing DBD::Sybase on Mac OS X with SQLAnywhere9
- — Previous thread in » PERL Modules Announcements