Skip to content

Array repeat expander not working  #157

Closed
@Linkinou

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

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