chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #686: irregex-replace/all doesn't grok `bos'


From: Chicken Trac
Subject: Re: [Chicken-janitors] #686: irregex-replace/all doesn't grok `bos'
Date: Tue, 21 Feb 2012 18:18:49 -0000

#686: irregex-replace/all doesn't grok `bos'
-----------------------------+----------------------------------------------
  Reporter:  syn             |       Owner:  sjamaan
      Type:  defect          |      Status:  new    
  Priority:  major           |   Milestone:         
 Component:  core libraries  |     Version:  4.7.x  
Resolution:                  |    Keywords:  irregex
-----------------------------+----------------------------------------------
Description changed by syn:

Old description:

> When {{{irregex-replace/all}}} is given a pattern containing a {{{bos}}}
> anchor it will not behave as expected. For example this call:
>
>   (irregex-replace/all '(seq bos #\space) "   x   " "*")
>
> returns {{{"***x   "}}} rather than the expected {{{"*  x   "}}}.

New description:

 When {{{irregex-replace/all}}} is given a pattern containing a {{{bos}}}
 anchor it will not behave as expected. For example this call:

 {{{
   (irregex-replace/all '(seq bos #\space) "   x   " "*")
 }}}

 returns {{{"***x   "}}} rather than the expected {{{"*  x   "}}}.

--

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/686#comment:5>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]