Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: regex replace problem

by fisher (Priest)
on Nov 18, 2010 at 15:43 UTC ( [id://872280]=note: print w/replies, xml ) Need Help??


in reply to Re^2: regex replace problem
in thread regex replace problem

add case-insensitive option.
s/tbgl_([^ \t(_]+)/$1_gl/gi;
and again, perldoc perlretut

Replies are listed 'Best First'.
Re^4: regex replace problem
by Anonymous Monk on Nov 18, 2010 at 16:17 UTC
    thank you fisher, your regex corrected some words but failed with wich JavaFan regex succeeded, this is my fault to not specify complete description; one of the reasons is that i can't post htm files, so if there is no harm to post a link to the file, i appreciate your patience [http://rapidshare.com/files/431638977/TBGL_SetMaterialDiffuse.htm]

      one of the reasons is that i can't post htm files

      You can post HTML code just like you can post Perl code. If you need to post so much code that you need an external service, *you* are doing a bad job asking your question. It's got nothing to do with what PerlMonks allows.

      (I'm not saying you did or didn't do a bad job asking your question; I'm just saying that you are mistaken in believing that posting huge HTML files would help.)

      No, thank you.

Log In?
Username:
Password:

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

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

    No recent polls found