Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Help on using alternation grouping star versus dot star.

by Anonymous Monk
on Jun 10, 2001 at 06:49 UTC ( [id://87257]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1.  re = /<div class="blockqte">((?:[^<]|<\/?s)*)<\/div>/g;
    2.  re = /<div class="blockqte">((?:[^<]*|<\/?s)*)<\/div>/g;
    3.  re = /<div class="blockqte">((?:.|\n)*?)<\/div>/g;
    
  2. or download this
    str = str.replace(re, "<pre>$1</pre>");
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://87257]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-25 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found