You could do that by first replacing the various delimiters with one
common, in a map stage. That said, if this is typical framing requirement
we could perhaps add more power to the framing stage, e.g. a funtion
ByteString => Boolean. That would be a good community contribution.

/Patrik

lör 11 nov. 2017 kl. 04:31 skrev regis leray <[email protected]>:

> Hi,
>
> Currently the implementation
>
> Framing.delimiter(ByteString("."), Int.MaxValue)
>
>
> only accept one delimiter. I would like to be able to use many delimiters
> . , ;
>
> to be able to parse such string
> Lorem Ipsum is simply,Dummy text of the printing;And typesetting industry.
>
> thanks
>
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to