Skip to content

Array repeat expander not working  #157

Description

@Linkinou

Hello there,

I'm trying to understand how to work with array repeat expander.

I tried to match this :

 [
     {
         "label": "Hello world !"
     }
 ]

with this :

'@array@.repeat({\"label\": \"@string@\"})'

but got this :

Type pattern "@array@" is not supported by TextMatcher.

Am I missing something ?

I'm using PHP 7.1 and coduo/php-matcher 3.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions