Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: Help with RegEx

by mr_p (Scribe)
on Jul 01, 2010 at 16:09 UTC ( #847542=note: print w/replies, xml ) Need Help??

in reply to Re: Help with RegEx
in thread Help with RegEx

Thanks so much.

Is there a way I can get href in one step process or I have to do another step of regex for it.

The results are weird...It is stripping off everything after style sheet in this line '<?xml-stylesheet href=\"perl1.css\" type=\"text/css\"?>'

Replies are listed 'Best First'.
Re^3: Help with RegEx
by Corion (Pope) on Jul 01, 2010 at 16:18 UTC

    Maybe you want to use a proper HTML parser, like HTML::Parser instead?

      It takes close to 500ms. If I can do it though RegEx isn't that less of hassle.

        But you obviously can't do it through regular expressions.

      But, I noticed it takes really long to load into HTML.

        I really doubt that.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://847542]
[Corion]: Doh - 3rd time's the charm, maybe? Tempalte::LiquidX ::Tag::Include :D
[Corion]: Ah well, you know what it should be ;) hard, copied link

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2018-05-25 12:55 GMT
Find Nodes?
    Voting Booth?