English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Regular expression matching against OCaml streams.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-01-12 (14:34)
From: Edgar Friendly <thelema314@g...>
Subject: Re: [Caml-list] Regular expression matching against OCaml streams.
Dmitri Boulytchev wrote:
>    Hello,
>    is it possible to match OCam streams (by mean of Stream.t) against
> regular expressions? Are there library
> that can be used for this purpose? Str matches only against strings.

I don't know of any libraries for this purpose.  I will warn anyone
making one that it's easy for simple regex matching to evaluate the
whole stream, and then fail to match.

Just a thought,