Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Skyscanner/JsonPath/JsonObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class JsonObject
const RE_ROOT_OBJECT = '/^\$(.*)/';

// Child regex
const RE_CHILD_NAME = '/^\.([a-zA-Z\_\$][\w\-\$]*|\*)(.*)/';
const RE_CHILD_NAME = '/^\.([a-zA-Z\d\_\$][\w\-\$]*|\*)(.*)/';
const RE_RECURSIVE_SELECTOR = '/^\.\.([a-zA-Z\_\$][\w\-\$]*|\*)(.*)/';

// Array expressions
Expand Down