| To: | scsh-hackers@lists.sourceforge.net |
|---|---|
| Subject: | [Scsh-hackers] Can delimiters be regexp strings? |
| From: | sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) |
| Date: | 03 Jun 2001 18:33:14 +0200 |
| List-id: | Discussion among the implementors <scsh-hackers.lists.sourceforge.net> |
| Sender: | scsh-hackers-admin@lists.sourceforge.net |
I've just been bitten by the following change from 0.5.2 to 0.6:
In 0.5.1:
> ((infix-splitter " +") "a b c")
'("a" "b" "c")
In 0.6 and 0.5.2:
> ((infix-splitter " +") "a b c")
'("a" "b" "c")
The documentation for 0.5.1 is somewhat vague on this. It says delim
should be a *compiled* regexps, but then gives regexp strings as
examples. Is this a bug?
Morale: Overloading strings with regexps continues to be a very bad
idea.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Scsh-hackers] Re: More, Martin Gasbichler |
|---|---|
| Next by Date: | [Scsh-hackers] [ scsh-Bugs-407067 ] Compile error on AIX 4.3, noreply |
| Previous by Thread: | [Scsh-hackers] Re: More, Martin Gasbichler |
| Next by Thread: | Re: [Scsh-hackers] Can delimiters be regexp strings?, Michael Sperber [Mr. Preprocessor] |
| Indexes: | [Date] [Thread] [Top] [All Lists] |