diff --git a/cake/libs/set.php b/cake/libs/set.php index dc3566936..c66d4cccc 100644 --- a/cake/libs/set.php +++ b/cake/libs/set.php @@ -370,6 +370,10 @@ class Set extends Object { * - /Post/Comment[author_name=john]/../name (Selects the name of all Posts that have at least one Comment written by john) * - /Posts[title] (Selects all Posts that have a 'name' key) * - /Comment/.[1] (Selects the contents of the first comment) + * - /Comment/.[:last] (Selects the last comment) + * - /Comment/.[:first] (Selects the last comment) + * - /Comment[text=/cakephp/i] (Selects the all comments that have a text matching the regex /cakephp/i) + * - /Comment/@* (Selects the all key names of all comments) * * Other limitations: * - Only absolute paths starting with a single '/' are supported right now