BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Bug Report
 Text "()" in instruction #SEARCHREPLACEVAR#
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

script
Starting Member

Spain
3 Posts

Posted - 14 Mar 2012 :  14:32:40  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
SEARCHREPLACEVAR does not replace text correctly in parentheses

Example
#STRING#=#07#=The Wire (Bajo escucha) (Serie de TV)
#SEARCHREPLACEVAR#=(Serie de TV)|#07##01#
#STRING#=#59#=The Wire (Bajo escucha) ()
#STRING#=#60#=The Wire (Bajo escucha)
#IF# #07#==#59#
#STRING#=#61#=Bug in instruction SEARCHREPLACEVAR
#ENDIF#
#IF# #07#==#60#
#STRING#=#61#=OK in instruction SEARCHREPLACEVAR
#ENDIF#

Prinz
Senior Member

Germany
1522 Posts

Posted - 14 Mar 2012 :  15:54:05  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The Search String in #SEARCHREPLACEVAR# is RegEx!!!

So Chars that have special meaning in RegEx like ( and ) have to be escaped with an \

#SEARCHREPLACEVAR#=\(Serie de TV\)|#07##01#
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.14 sec. Powered By: Snitz Forums 2000 Version 3.4.07