On 1/2/2011 11:21 PM, Lars Magne Ingebrigtsen wrote:
Jamie Zawinski <jwz(a)jwz.org> writes:
> I suppose a bound variable around re-search-forward, to indicate the
> parsing style, would be the way to go. That, or a separate function
> for new-style, like PHP does.
Or, perhaps, a new reader syntax for the new-style regexps. Like:
(re-search-forward #"(\s+)" nil t)
Or #/(\s+)/? #/"(\s+)"? Anyway, the low-level regexp functions could
do the dispatch on the object type instead of introducing new
functions.
XEmacs 21.5b28 ported that syntax from SXEmacs in 2007 ;)
--
Nelson Ferreira
Pubkey:
http://triatlantico.org/njsf.asc
(9DFE 82A7 C689 BAEE EC25 A8E8 3C64 1789 7420 ED20)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta