Skip to content
Browse files

Add a note about declarative semantics to the section on interpolated…

… arrays.
  • Loading branch information...
1 parent 010e028 commit d067a9cb0d05aefbcda2c0328e7739aac746b830 @pmichaud pmichaud committed Jun 28, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 S05-regex.pod
View
4 S05-regex.pod
@@ -1249,6 +1249,10 @@ Or course, you can also
to be clear that you mean junctive semantics.
+An interpolated array using junctive semantics is declarative
+(participates in external longest token matching) only if it's
+known to be constant at the time the regex is compiled.
+
As with a scalar variable, each element is matched as a literal
unless it happens to be a C<Regex> object, in which case it is matched
as a subrule. As with scalar subrules, a tainted subrule always fails.

0 comments on commit d067a9c

Please sign in to comment.
Something went wrong with that request. Please try again.