<div>Byte string regexp patterns containing bytes with the high bit set don't seem to work properly with any of the regexp procedures that match multiple times. For example...</div><div><br></div><div>This works as expected:</div>
<div><br></div><div>> (regexp-split #rx#"\x7f" #"hello\x7fworld")</div><div>(#"hello" #"world")</div><div><br></div><div>But this does not:</div><div><br></div><div><div>> (regexp-split #rx#"\x80" #"hello\x80world")</div>
<div>(#"hello\200world")</div><div><br></div><div><br></div><div>Similarly:</div><div><br></div><div><div>> (regexp-match* #rx#"\x7f" #"hello\x7fworld")</div><div>(#"\177")</div>
<div><br></div><div>> (regexp-match* #rx#"\x80" #"hello\x80world")</div><div>()</div><div><br></div><div><br></div><div>This doesn't affect the procedures that only match once. For example, this works fine:</div>
<div><br></div><div><div>> (regexp-match #rx#"\x80" #"hello\x80world")</div><div>(#"\200")</div><div><br></div><div><br></div><div>I can reproduce this behavior in 4.1.5 and 4.2.2.1, both on OS X 10.5.8.</div>
<div><br></div><div>-Jon</div><div><br></div></div></div></div>