Changing to new directory.

2001-07-25 Thread Yvonne Murphy
Hi all, Thanks for all your help with previous questions I've had. What I need to figure out now is how I can strip the actual directory from the following pathname that I have stored in a variable : (Just one sample of what I have but there will be different variations of the $pathname below) $

Regex......some help quickly!!!!

2001-07-13 Thread Yvonne Murphy
Hi All, It's Friday evening and my brain is already beginning to close down for the weekend although I haven't yet given it permission to do so! I need to get this regex problem I have sorted soon, but my brain refuses to co-operate with me. I need to match the following type of #include statemen

Re: Srting matching again

2001-06-27 Thread Yvonne Murphy
Hasanuddin Tamir wrote: > On Tue, 26 Jun 2001, Yvonne Murphy <[EMAIL PROTECTED]> wrote, > > > > > if ($mymatch =~ m/\'(.+)\;/gis) { #matches anything between the single > ^^ > > > > > > > But the problem occurs wh

Re: removing white space

2001-06-27 Thread Yvonne Murphy
Has anyone used the whitespace module. I downloaded it from CPAN but I couldn't get it to work for me at all. YM

Srting matching again

2001-06-26 Thread Yvonne Murphy
Hi all, The following problem has been causing me alot of hassle and I'd really appreciate some help with it. I have the following piece of code which matches perfectly for a string between the single qoute and the semi-colon:- use strict; #this part is to remove the functions from the qoutes

Another regular expression question?

2001-04-20 Thread Yvonne Murphy
I am also very new to Perl! I need to figure out how I could skip a block of comments in a C header file. For example, if I have something like the following: /* This is my block of comments.blah blah.and lots more commen