Annotation Type JawkRegexp


@Retention(RUNTIME) @Target(PARAMETER) public @interface JawkRegexp
Marks an extension function parameter that takes a regular expression, so a regexp literal (/re/) supplied at that position keeps its precompiled Pattern instead of being evaluated as the boolean $0 ~ /re/ expression.

Callers may also pass dynamic strings, so the annotated Java parameter must be declared as Object and the implementation should fall back to compiling the string form.