Questions Regarding Assertions & Capture Group ExtendScript Support
I recall a couple of earlier posts regarding ES support for assertions; specifically, that while ES supports lookahead assertions, it does not support lookbehind assertions. In my experience, while the Find/Change panel appears to support both, and I've successfully used positive lookbehinds in the FrameMaker 2022 scripts, negative lookbehinds do not appear to work in ES. Can anyone confirm this and/or point me to a more definitive discussion regarding ES support for assertions. I use these extensively to search documents for capitalization, hyphenation, spacing, and spelling errors that are outside the scope of the dictionary.
My other question is regarding capture groups. While capture groups seem to work OK in the Find/Change panel, I've run into problems using them in scripts. Maybe I'm doing something wrong. Any suggestions welcome.
