why [^\/] didn't work --- How to march non-forward slash? 
Author Message
 why [^\/] didn't work --- How to march non-forward slash?

Dear Netters,

I am trying to march

    "http:/blaaa" instead of "http://blaaa"

and I use the following regular expression:

    /"http:\/[^\/"]+"/

The idea is to search for "http:/ first, then any numbers of NON
    / or "

followed by another "

I guess the other question is how to search for non-forward slash?

Thanks for any help!

- Peter



Sun, 14 Jun 1998 03:00:00 GMT  
 why [^\/] didn't work --- How to march non-forward slash?
How far as i can see, the regular expression is good and works, maybe something
else is wrong in the program.


Sun, 14 Jun 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. why [^\/] didn't work --- How to march non-forward slash?

2. Changing back slashes to forward slashes

3. DBIx::Password/Bundle::Slash didn't set the virutal user

4. Erroneous Forward Slash in HTML Code by CGI.pm

5. back vs. forward slash

6. Substituting backslash for 2 forward slashes

7. eh, why didn't I think of that :-)

8. my simple perl application didn't work

9. Term::ReadKey non-blocking non-working in RH8.0

10. SysV IPC under Linux 2.0, can't get non-blocking to work

11. 5th Annual Tcl/Tk Workshop '97 - Submission Deadline March 11, 1997

12. 5th Annual Tcl/Tk Workshop '97 - Submission Deadline March 11, 1997

 

 
Powered by phpBB® Forum Software