Quantcast
Channel: Adobe Community: Message List - InDesign
Viewing all articles
Browse latest Browse all 143383

Re: GREP: using positive lookbehind/positive lookahead

$
0
0

I've been thinking about the [^\~\r] that I used, and although it SEEMS to work, I don't understand why it would. Logically a tilde is not a return, and a return is not a tilde and I would think this would go into a meltdown loop and hang or crash, or match everything, essentially becoming the equivalent of .+. Would one of you experts out there care to comment on the inner workings of a class? It seems like the negation includes an implied boolean "and" rather than the implied "or" of a regular class.

 

Or is just an accident that it worked?


Viewing all articles
Browse latest Browse all 143383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>