1. one of the purposes of scripting languages is creating prototype.
2. as i explained before my job is to create this perl regular expression.
Which will be used in xml file.
I dont care about clients apps, they can be written on any language. I use
perl.
3. also i greatly appreciate help of this
> "I" == I B <[EMAIL PROTECTED]> writes:
I> unfortunately I have to use regex to solve this problem.
Why? Is this homework? Or is this a Java question in disguise?
Either of those are rude, having conned people into helping you
for false pretenses.
--
Randal L. Schwartz - Stonehenge Consu
got it! very nice, not complicated at all. I didn't know about lookahead
feature. very useful.
this file that should be matched:
row 1
row 2
row 3
Bug some word
row 4
row 5
this is file that should not be matched:
row 1
row 2
row 3
Bug some word
row 4
row 5
row 6
this is soluti
On Fri, Oct 13, 2006 at 12:36:33PM -0500, Charles K. Clarkson wrote:
> I.B. wrote:
>
> : unfortunately I have to use regex to solve this problem.
>
> Why do you have to use a regex?
Because that is what the question stipulates.
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net
--
On 10/13/2006 12:14 PM, I.B. wrote:
this is the problem:
use regular expressions to prove that word "Bug"
is in the 3 row from the end of table in the html tagged file:
shell> cat file1.txt
[...]
Don't use regular expressions to parse HTML. Use an HTML parsing module
to parse HTML.
Now to
I.B. wrote:
: unfortunately I have to use regex to solve this problem.
Why do you have to use a regex?
Charles K. Clarkson
--
Mobile Homes Specialist
Free Market Advocate
Web Programmer
254 968-8328
Don't tread on my bandwidth. Trim your posts.
--
To unsubscribe, e-mail: [EMAIL PROTE
this is the problem:
use regular expressions to prove that word "Bug"
is in the 3 row from the end of table in the html tagged file:
shell> cat file1.txt
row 1
row 2
row 3
Bug some word
row 4
row 5
shell>
shell> cat file2.txt
row 1
row 2
row 3
Bug some word
row 4
row 5
row 6
thank you for reponse!
unfortunately I have to use regex to solve this problem.
I was trying to simplify:
$file=~/.+Bug.+<\/tr>\s*.+<\/tr>\s*.+?<\/tr>\s*.+?<\/tr>\s*<\/table>/;
still does not work!!!
On 10/12/06, Dr.Ruud <[EMAIL PROTECTED]> wrote:
I . B . schreef:
> i have a task to ve
I . B . schreef:
> i have a task to verify that word "Bug" is in the table in the 3rd
> row from the buttom, i came up with regex , but it doesnt work.
> can anyone please take a look?
>
> #/usr/bin/perl -w
Get rid of the "-w" and insert
use warnings;
use strict;
> [...]
>
/(.+Bug[^()]+<\/