Forgot to mention: if the following block is inserted in place of the 
*replace*, it works:

*find* "(\\d\\d?)(.+?)</a>" options {search mode:*grep*, wrap around:*true*} 
*with* selecting match

*set* chapnumtest *to* *grep substitution* of ("\\1" *as* *text*)

*set* chaptitletest *to* *grep substitution* of ("\\2" *as* *text*)

*log* chapnumtest

*log* chaptitletest


So this tells me that my Grep string is valid (which i know from it working 
with the manual not scripted Replace All), making it all the more puzzling 
to me why it fails in a scripted *replace* (all).

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/9975a9a1-5247-4263-98a4-3b147ae297a1n%40googlegroups.com.

Reply via email to