Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Balance Change

by MCS (Monk)
on Feb 08, 2006 at 19:30 UTC ( #528905=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ( <code goes here> ) {}
    
  2. or download this
    #!/usr/bin/perl
    my $string = 'abc abc abc \textit{abc abc} abc \textit{abc abc \textbf
    +{abc \textbf{abc abc} abc} abc} abc.';
    
    while ($string =~ s/\\text(i|b)[tf]\{([^{}]*)\}/<$1>$2<\/$1>/g) {}
    print $string;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2015-08-03 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (29 votes), past polls