First page Back Continue Last page Overview Graphics
Recursive Patterns
Need not be recursive:
- if (“AABB”=~/(A)(?1)(?2)(B)/) {...}
Think “regex subroutine” or Perl6 Rule (sorta)
Relative referencing is possible:
Relative referencing facilitates easy embedding and reuse of recursive patterns