Consider this example
- name: foo.bar
begin: /\*
end: \*/
patterns:
- name: baz.foo.bar
match: \*.*\*
This causes the inner pattern to swallow the ‘*’ part of the end pattern - preventing it from being closed. This is not the documented behavior: inner patterns are supposed to be matched between begin and end.
Is this a bug or am i doing something wrong? Thanks