Skip to content

DomQuery nested parentheses #235

@trejjam

Description

@trejjam

Hi,

I try to use Tester\DomQuery::css2xpath('input[name=container[item]]') to test Nette\Forms, but css2xpath response: //input[@name='container[item'] instead of //input[@name='container[item]'].

I think problem is in regex here:
https://github.com/nette/tester/blob/master/src/Framework/DomQuery.php#L84
But I don't know correct code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions