RL Vision Knowledge Base

Support questions and answers for software by RL Vision.

Note: This is an archived discussion. Any bug, problem or suggestion mentioned here is likely to have been fixed since it was written.

Subject: Re: Bug in RegEx-Handling

Date: Mon, 13 Oct 2008 20:11:40 +0200

Hi,

Can you send me an example? It's always easier to have something to look at.

// Dan

PS: If you create useful scripts you are welcome to send them to me and I might include them in future versions.



Kolja wrote:
> Dear Sir or Madam,
>
> I just discovered a bug in Flash Renamers RegEx Routine. When you use a RegEx which captures part of the filename and uses it in the replacement part, and this happens more than once in a single filename, the second and later replacements use the same match-texts caught by the first match, so wrong text is used in the replacements.
>
> Currently this can be circumvented by limiting RegEx Search-Replace actions to match only once, and running that regex multiple times.
>
> For those who like a more practical style there is the possibility to use the scripting to circumvent this problem. I used a JavaScript based Script to clean up some more filename problems (i.e. remove not wanted dots (".") within a filename.
>
> Yours, Kolja
>
>


Back to Knowledge Base


 · Software
 · Download
 · Order



 RL Vision
 · About
 · Contact
 · News
 · Blog



 Shareware
 · Flash Renamer
 · PDF Img Extract
 · Exif Tag Remover
 · Dupli Find



 Freeware
 · Replace Genius
 · Office Img Extract
 · Notepad2 BE
 · PhotoSift
 · CCTime
 · Hot Spot Studio
 · Snap2HTML
 · Snap2IMG
 · Bubble Math
 · DinnerWiz
 · NSF Tool
 · Beep.Exe



 Misc.
 · Changelogs
 · TitleQ
 · ArtGem
 · Graphics Tutorials
 · Win7 Font Bug
 · KB


Like my Freeware?

I'm on GitHub too!



© 1998-2024 RL Vision Privacy Policy