The following expression:
(progn (posix-string-match "i\\|ii" "ii")(match-data))
returns (0 1). Should it return (0 2) instead?
thanks,
ilya
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
>>>>> Stephen J Turnbull <stephenjturnbull(a)gmail.com> writes:
> What do you mean by "support in regexps but not in
> re-search-forward"? AFAIK we have no support for them at all,
> certainly not at the C level.
I'm probably just confused by a comment in regex.h which says ...
/* If this bit is set, then character classes are supported. They are:
[:alpha:], [:upper:], [:lower:], [:digit:], [:alnum:], [:xdigit:],
[:space:], [:print:], [:punct:], [:graph:], and [:cntrl:].
If not set, then character classes are not supported. */
#define RE_CHAR_CLASSES (RE_BK_PLUS_QM << 1)
...
and line 2033 in regex.c which reads:
#define IS_CHAR_CLASS(string) \
(STREQ (string, "alpha") || STREQ (string, "upper") \
|| STREQ (string, "lower") || STREQ (string, "digit") \
|| STREQ (string, "alnum") || STREQ (string, "xdigit") \
|| STREQ (string, "space") || STREQ (string, "print") \
|| STREQ (string, "punct") || STREQ (string, "graph") \
|| STREQ (string, "cntrl") || STREQ (string, "blank"))
They made me believe we had some support for it.
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
ACTIVITY SUMMARY (2012-04-10 - 2012-04-17)
XEmacs Issue Tracking System at http://tracker.xemacs.org/XEmacs/its/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
542 open ( +0) / 284 closed ( +0) / 826 total ( +0)
Open issues with patches: 11
Average duration of open issues: 1097 days.
Median duration of open issues: 1157 days.
Open Issues Breakdown
new 218 ( +0)
deferred 6 ( +0)
napping 3 ( +0)
verified 56 ( +0)
assigned 152 ( +0)
committed 18 ( +0)
documented 3 ( +0)
done/needs work 17 ( +0)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Hi,
While looking at upgrading some packages, specifically getting
go(lang)-mode to work with XEmacs, I have come across the character
classes like [[:space:]] [[:word:]] etc.
We have this issue in the tracker:
http://tracker.xemacs.org/XEmacs/its/issue302
What would it take to support these classes to get compatible with GNU
Emacs? Major C-code change or what?
It seems that many packages use these so it would make porting and
syncing much easier. Especially since this things only show up in
runtime.
What also confuses me is that it seems we have support for them in
regexps but not in functions like re-search-forward!? What is the
story here?
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
ACTIVITY SUMMARY (2012-04-03 - 2012-04-10)
XEmacs Issue Tracking System at http://tracker.xemacs.org/XEmacs/its/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
542 open ( +0) / 284 closed ( +0) / 826 total ( +0)
Open issues with patches: 11
Average duration of open issues: 1090 days.
Median duration of open issues: 1150 days.
Open Issues Breakdown
new 218 ( +0)
deferred 6 ( +0)
napping 3 ( +0)
verified 56 ( +0)
assigned 152 ( +0)
committed 18 ( +0)
documented 3 ( +0)
done/needs work 17 ( +0)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Hi,
If you have been following the XEmacs buildbot recently you might have
seen that the cygwin buildslave been offline a lot recently. That is
because I have lost access to that machine. This was a windows machine
I used in my daily work but I have new tasks now and that machine is
not part of that. So we need to find a new machine for the cygwin
builds.
I think I can get one dedicated windows machine but not until the end
of june. Maybe I can set up a virtual machine for the builds before
that but I can't have that online 100% due to limited resources.
This is of course a golden opportunity if you happen to have a windows
machine and some spare time to step forward and setup a buildslave on
it! Drop me a line if you want to try that.
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta