10-28-2006, 09:15 PM
if(findrx(dd "(?s)^[ ;]*BEGIN DIALOG *[](.+?)[][ ;]*END DIALOG$" 0 8 si 1)<0) ret
failed at red $. It should be
if(findrx(dd "(?s)^[ ;]*BEGIN DIALOG *[](.+?)[][ ;]*END DIALOG *$" 0 8 si 1)<0) ret
Normally, code inserted by Dialog Editor does not contain spaces in end of lines, but spaces can be added in code copied from forum. Will be fixed in next release, thank you.
failed at red $. It should be
if(findrx(dd "(?s)^[ ;]*BEGIN DIALOG *[](.+?)[][ ;]*END DIALOG *$" 0 8 si 1)<0) ret
Normally, code inserted by Dialog Editor does not contain spaces in end of lines, but spaces can be added in code copied from forum. Will be fixed in next release, thank you.
