I have to make an e-book that contains code snippets. I am using GREP to select all code tags (bounded by <> — triangular brackets), and apply a custom style to them.
The RegEx I have developed: http://regexr.com/39puq
Works fine online.
However, it does not work in InDesign. I've attached an image (see the difference between it and the link above.
The second paragraph contains a set of indentations that InDesign just skips.
Any idea why? Am I missing something?
Thank you.
Later edit:
Following another StackExchange thread, I found this snippet: <.*>
However, it has the same undesired effect. Help.