Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: POD style regex for inline HTML elements

by Loops (Curate)
on Nov 07, 2014 at 10:56 UTC ( #1106474=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $text = '  <bold>, I<italic>, and B<I<bold and italic>> text.';
    
  2. or download this
    $VAR1 = [
              '<bold>',
              ', I<italic>, and B<I<bold and italic>> text.',
              '  '
            ];
    
  3. or download this
    my @line = extract_bracketed($text, '<>', qr(.*?(?=<)));
    
  4. or download this
    $VAR1 = [
              '<bold>',
              ', I<italic>, and B<I<bold and italic>> text.',
              'A line with B'
            ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (1)
As of 2022-07-02 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (103 votes). Check out past polls.

    Notices?