| To: | scsh@martigny.ai.mit.edu |
|---|---|
| Subject: | No sub-match found. |
| From: | Bruno Verlyck <Bruno.Verlyck@inria.fr> |
| Date: | 25 Nov 1996 19:23:43 +0100 |
| Organization: | INRIA, Rocquencourt, BP 105, 78153 Le Chesnay Cedex, France |
With scsh-0.4.4, if I do:
(define m (string-match "(ab)?c" "c"))
> (match:start m 1)
I get:
Error: #{Procedure 7851 match:start}
"No sub-match found."
#{regexp-match}
1
1>
I see no accessible way (no module exporting a function) to know if sub-match 1
has matched nothing. Is there another approved way I can't see or is it time
to extend scsh-regexp-interface ?
--
Bruno.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Next by Date: | Buguette in host-info in 0.4.4, Michael Sperber [Mr. Preprocessor] |
|---|---|
| Next by Thread: | Buguette in host-info in 0.4.4, Michael Sperber [Mr. Preprocessor] |
| Indexes: | [Date] [Thread] [Top] [All Lists] |