TLA+, find specific character in string.

37 views
Skip to first unread message

Ali Javeed

unread,
Jun 15, 2019, 11:02:36 AM6/15/19
to tlaplus
Hi, I'm new in TLA+. I want to find specific characters or regex in string.
if anyone knows any keyword like the match, contain in other languages or any method. Problem with it is that I don't know how should I do in TLA.
please help me.

Stephan Merz

unread,
Jun 15, 2019, 11:09:52 AM6/15/19
to tla...@googlegroups.com
There is no standard library module in TLA+ for matching regular expressions. With some experience, it would not be too hard to define suitable operators based on the operations in the Sequences module.

Stephan
> --
> You received this message because you are subscribed to the Google Groups "tlaplus" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+u...@googlegroups.com.
> To post to this group, send email to tla...@googlegroups.com.
> Visit this group at https://groups.google.com/group/tlaplus.
> To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/937dbb41-3813-48ff-860f-cdede13d4f3c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages