[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
#1661: irregex-replace/all behaves weirdly at bos/bol
From: |
Chicken Trac |
Subject: |
#1661: irregex-replace/all behaves weirdly at bos/bol |
Date: |
Mon, 30 Dec 2019 07:45:59 -0000 |
#1661: irregex-replace/all behaves weirdly at bos/bol
--------------------------------+----------------------------
Reporter: sjamaan | Type: defect
Status: new | Priority: major
Milestone: 5.2 | Component: core libraries
Version: 5.1.0 | Keywords: irregex
Estimated difficulty: medium |
--------------------------------+----------------------------
Reported by Petruchio on IRC:
```
(irregex-replace/all (irregex 'bol) "Line1\nLine2" "*")
=>
"ine1\n*Line2"
```
Expected output is `"*Line1\n*Line2"`. If you use `bos` instead of `bol`
the first character gets "eaten" as well.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1661>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- #1661: irregex-replace/all behaves weirdly at bos/bol,
Chicken Trac <=