<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2009/01/1a6bc2f9ffbdf3622a51b34217224e81"
  from="Edgar Friendly &lt;thelema314@g...&gt;"
  author="Edgar Friendly"
  date="2009-01-12T14:34:17"
  subject="Re: [Caml-list] Regular expression matching against OCaml streams."
  prev="2009/01/6d098a9e0587a2759e2b95fbcda926ab"
  next="2009/01/b49c746cd7aade6ef27fa16971c513af"
  prev-in-thread="2009/01/6d098a9e0587a2759e2b95fbcda926ab"
  next-in-thread="2009/01/ced6106d4b7a7fe4b8f03f95858134ad"
  prev-thread="2009/01/2549cd673119c567f7c38185b8f44404"
  next-thread="2009/01/d872246fc16e795f138c798f5c03dea4"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Regular expression matching against OCaml streams.">
<msg 
  url="2009/01/6d098a9e0587a2759e2b95fbcda926ab"
  from="Dmitri Boulytchev &lt;db@t...&gt;"
  author="Dmitri Boulytchev"
  date="2009-01-12T13:00:58"
  subject="Regular expression matching against OCaml streams.">
<msg 
  url="2009/01/1a6bc2f9ffbdf3622a51b34217224e81"
  from="Edgar Friendly &lt;thelema314@g...&gt;"
  author="Edgar Friendly"
  date="2009-01-12T14:34:17"
  subject="Re: [Caml-list] Regular expression matching against OCaml streams.">
<msg 
  url="2009/01/ced6106d4b7a7fe4b8f03f95858134ad"
  from="Chris Conway &lt;cconway@c...&gt;"
  author="Chris Conway"
  date="2009-01-12T15:49:26"
  subject="Re: Regular expression matching against OCaml streams.">
<msg 
  url="2009/01/e65211ea034261766209b913d033cd99"
  from="Dmitri Boulytchev &lt;db@t...&gt;"
  author="Dmitri Boulytchev"
  date="2009-01-12T17:00:53"
  subject="Re: [Caml-list] Re: Regular expression matching against OCaml streams.">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
Dmitri Boulytchev wrote:
&gt;    Hello,
&gt; 
&gt;    is it possible to match OCam streams (by mean of Stream.t) against
&gt; regular expressions? Are there library
&gt; 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,
E

</contents>

</message>

