Re: nice regular expression

2006-10-14 Thread I . B .
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

Re: nice regular expression

2006-10-14 Thread Randal L. Schwartz
> "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

Re: nice regular expression

2006-10-13 Thread I . B .
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

Re: nice regular expression

2006-10-13 Thread Paul Johnson
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 --

Re: nice regular expression

2006-10-13 Thread Mumia W.
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

RE: nice regular expression

2006-10-13 Thread Charles K. Clarkson
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

Re: nice regular expression

2006-10-13 Thread I . B .
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

Re: nice regular expression

2006-10-13 Thread I . B .
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

Re: nice regular expression

2006-10-12 Thread Dr.Ruud
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[^()]+<\/

Re: nice low cost ISP with support for mod_perl, any suggestions

2005-09-06 Thread Wiggins d'Anconia
Adriano Ferreira wrote: > I am on the verge of trying to deploy a small web application for > small business. I would like to see it working preferably under > mod_perl. Does anyone has suggestions about possible providers with a > good compromise between service quality and cost? As it is directe

Re: Nice

2002-10-20 Thread Larry Coffin
>Well as for monitoring, the nice value will not change unless it is >reset by a user. As for setting it you'll want to look into the >program /bin/nice. Also, look into 'renice' to change the priority of a running process, and look into 'top' for monitoring. And to c

Re: Nice

2002-10-20 Thread Peter Scott
In article <006401c276db$8fe09250$0300a8c0@jessee>, [EMAIL PROTECTED] (Jessee Parker) writes: >How do you monitor and change the "nice" value of your program? I'm = >running RH Linux 7.3. Thanks! http://search.cpan.org/author/DURIST/Proc-ProcessTable-0.35/Process/Process.pm Only you'll be using

RE: Nice

2002-10-18 Thread Kipp, James
man nice > -Original Message- > From: Jessee Parker [mailto:jparker@;presslaff.com] > Sent: Friday, October 18, 2002 3:22 PM > To: [EMAIL PROTECTED] > Subject: Nice > > > How do you monitor and change the "nice" value of your > program? I'm running RH Linux 7.3. Thanks! > > Jessee >

Re: Nice

2002-10-18 Thread Frank Wiles
.--[ Jessee Parker wrote (2002/10/18 at 12:21:30) ]-- | | How do you monitor and change the "nice" value of your program? | I'm running RH Linux 7.3. Thanks! | `- Well as for monitoring, the nice value will not change unless i

RE: nice, perl, fork and exec

2002-03-19 Thread Richard Smith
In *nix, he child process inherits the nice value of the parent process, and, unless the process owner is the super-user, the child process cannot be given a higher priority. This would also apply to calls to system() and backticks, since they all basically use the same mechanism. It also ap

RE: nice, perl, fork and exec

2002-03-19 Thread Nikola Janceski
2002 1:28 PM > To: [EMAIL PROTECTED] > Subject: Re: nice, perl, fork and exec > > > > If I run a perl script with nice, (in Unix > > it reprioritizes the process), and fork in > > perl and run an exec "command" with the > > child, does the nice prior