in reply to Re^8: Replace zero-width grouping? ( (??{ }) ?)
in thread Replace zero-width grouping?

Huh. I wouldn't have thought to use (??{}) for that and still won't. It invokes the regex compiler which isn't necessary for the code2assert I posted. This works identically except its slower.

/(??{ # delayed regex $condition ? '' # Nothing needed - this succeeds by default : '(?!)' # Failed! })/