[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: icalendar.el bug fix patch
From: |
Juri Linkov |
Subject: |
Re: icalendar.el bug fix patch |
Date: |
Sun, 03 Nov 2019 22:54:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> what would be an equivalent for specifying regexp modifiers in Emacs Lisp?
>> Maybe something like
>>
>> (let ((regexp-modifiers "s"))
>> (string-match "." string))
>
> That will affect all the regexp matching that will happen during
> execution of this code, so it will require changes in debug.el and
> edebug.el, and probably in elp.el and trace.el as well to "reset" the
> var before running innocent code.
>
> Also, it can be problematic for cases where we combine/concatenate
> several regexp chunks.
In /regexp/s syntax the modifiers are inseparable from regexp.
What would be an equivalent in Emacs, maybe text properties?
(string-match (propertize "." 'regexp-modifiers 'newline) string)
- Re: icalendar.el bug fix patch, (continued)
- Re: icalendar.el bug fix patch, Rajeev Narang, 2019/11/01
- Re: icalendar.el bug fix patch, Eli Zaretskii, 2019/11/01
- Re: icalendar.el bug fix patch, Mattias Engdegård, 2019/11/01
- Re: icalendar.el bug fix patch, Eli Zaretskii, 2019/11/01
- Re: icalendar.el bug fix patch, Paul Eggert, 2019/11/01
- Re: icalendar.el bug fix patch, Mattias Engdegård, 2019/11/01
- Re: icalendar.el bug fix patch, Juri Linkov, 2019/11/02
- Re: icalendar.el bug fix patch, Richard Stallman, 2019/11/03
- RE: icalendar.el bug fix patch, Drew Adams, 2019/11/03
- Re: icalendar.el bug fix patch, Stefan Monnier, 2019/11/03
- Re: icalendar.el bug fix patch,
Juri Linkov <=
- Re: icalendar.el bug fix patch, Stefan Monnier, 2019/11/03
- Re: icalendar.el bug fix patch, Juri Linkov, 2019/11/03
- Message not available
- Re: icalendar.el bug fix patch, Paul Eggert, 2019/11/03
- Re: icalendar.el bug fix patch, Mattias Engdegård, 2019/11/04
- RE: icalendar.el bug fix patch, Drew Adams, 2019/11/04
- Re: icalendar.el bug fix patch, Richard Stallman, 2019/11/02
- RE: icalendar.el bug fix patch, Drew Adams, 2019/11/03
- Re: icalendar.el bug fix patch, Howard Melman, 2019/11/01
- Re: icalendar.el bug fix patch, Richard Stallman, 2019/11/01