I bumped into a segmentation fault in the regex library today and thought I&#39;d warn others in case similar behavior is observed:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
Prelude&gt; :m Text.Regex<br>Prelude Text.Regex&gt; map read (splitRegex (mkRegex &quot;\\|&quot;) &quot;0|1|2|4&quot;) :: [Int]<br>Loading package syb ... linking ... done.<br>Loading package array-0.2.0.0 ... linking ... done.<br>
Loading package bytestring-0.9.1.4 ... linking ... done.<br>Loading package regex-base-0.72.0.2 ... linking ... done.<br>Loading package regex-posix-0.72.0.3 ... linking ... done.<br>Loading package regex-compat-0.71.0.1 ... linking ... done.<br>
[0,1,2,4]<br>Prelude Text.Regex&gt; Segmentation fault<br></blockquote><br>Regards,<br>Duane<br>