Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Calling sub-routine in regex

by tonydunn (Novice)
on Jul 19, 2020 at 15:26 UTC ( [id://11119522]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <h2>2.1. Match Literal Text</h2>
    <h2>2.2. Match Nonprintable Characters</h2>
    <h2>2.3. Match One of Many Characters</h2>
    
  2. or download this
    <h2 id="Match Literal Text">2.1. Match Literal Text</h2>
    <h2 id="Match Nonprintable Characters">2.2. Match Nonprintable Charact
    +ers</h2>
    <h2 id="Match One of Many Characters">2.3. Match One of Many Character
    +s</h2>
    
  3. or download this
    
    use Tie::File;
    ...
            $_ =~ s/$regex/$+{tag} id="$+{text}"$+{closing_bracket}$+{ol_n
    +umbers} $+{text}$+{closing_tag}/;
        }
        else { # blah blah blah
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-23 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found