commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (TEXT-75) StrTokenizer needs to support access to the token separators
Date Sun, 19 Mar 2017 16:34:41 GMT

     [ https://issues.apache.org/jira/browse/TEXT-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pascal Schumacher moved LANG-288 to TEXT-75:
--------------------------------------------

    Fix Version/s:     (was: Patch Needed)
      Component/s:     (was: lang.text.*)
         Workflow: jira  (was: Default workflow, editable Closed status)
              Key: TEXT-75  (was: LANG-288)
          Project: Commons Text  (was: Commons Lang)

> StrTokenizer needs to support access to the token separators
> ------------------------------------------------------------
>
>                 Key: TEXT-75
>                 URL: https://issues.apache.org/jira/browse/TEXT-75
>             Project: Commons Text
>          Issue Type: Improvement
>            Reporter: Stephen Colebourne
>            Priority: Minor
>
> With StrTokenizer at present you cannot extract the separators between the tokens, a
feature which is possible with StringTokenizer.
> Thus tokenizing "a.b@c.d" using ".@" would return a,b,c,d but you wouldn't know where
the @ was.
> This could probably best be part of the API as a lastSeparator() method that can only
be called after next(), returning the separator(s) between that token and the previous token.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message