-
-
Notifications
You must be signed in to change notification settings - Fork 922
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Truffle] Support named captures in MatchData.
- Loading branch information
Showing
3 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,2 @@ | ||
fails:MatchData#[] supports accessors [start, length] | ||
fails:MatchData#[] supports ranges [start..end] | ||
fails:MatchData#[Symbol] returns the corresponding named match when given a Symbol | ||
fails:MatchData#[Symbol] returns the corresponding named match when given a String | ||
fails:MatchData#[Symbol] returns the matching version of multiple corresponding named match | ||
fails:MatchData#[Symbol] returns the last match when multiple named matches exist with the same name | ||
fails:MatchData#[Symbol] returns nil on non-matching named matches | ||
fails:MatchData#[Symbol] raises an IndexError if there is no named match corresponding to the Symbol | ||
fails:MatchData#[Symbol] raises an IndexError if there is no named match corresponding to the String | ||
fails:MatchData#[Symbol] returns matches in the String's encoding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters