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.