diff options
Diffstat (limited to 'src/pattern.go')
| -rw-r--r-- | src/pattern.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pattern.go b/src/pattern.go index 29149fe7..8919ad87 100644 --- a/src/pattern.go +++ b/src/pattern.go @@ -403,6 +403,8 @@ func (p *Pattern) transformInput(item *Item) []Token { tokens := Tokenize(item.text.ToString(), p.delimiter) ret := Transform(tokens, p.nth) + // TODO: We could apply StripLastDelimiter to exclude the last delimiter from + // the search allowing suffix match with a string or a regex delimiter. item.transformed = &transformed{p.revision, ret} return ret } |
