[...] Is there any way to have the first and last lines of the fusedoc rule be parsed by text.xml?
Yes, use look-ahead and look-behind assertions in the begin/end patterns. E.g.:
fusedoc = { begin = '(?=^\s*<fusedoc )'; end = '(?<=</fusedoc>)'; patterns = ( { include = 'text.xml'; } ); }
This way, the patterns themselves will match zero characters.
Fantastic! Thank you, this is a good technique to know.
Regards,
Aparajita www.aparajitaworld.com
"If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoylibrary.com