|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.001
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.001
|
|
|
22c937 |
Problem: Character classes such as [a-z] to not react to 'ignorecase'.
|
|
|
22c937 |
Breaks man page highlighting. (Mario Grgic)
|
|
|
22c937 |
Solution: Add separate items for classes that react to 'ignorecase'. Clean
|
|
|
22c937 |
up logic handling character classes. Add more tests.
|
|
|
22c937 |
Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.000/src/regexp_nfa.c 2013-08-01 18:27:51.000000000 +0200
|
|
|
22c937 |
--- src/regexp_nfa.c 2013-08-14 11:49:50.000000000 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 29,34 ****
|
|
|
22c937 |
--- 29,37 ----
|
|
|
22c937 |
# define NFA_REGEXP_DEBUG_LOG "nfa_regexp_debug.log"
|
|
|
22c937 |
#endif
|
|
|
22c937 |
|
|
|
22c937 |
+ /* Added to NFA_ANY - NFA_NUPPER_IC to include a NL. */
|
|
|
22c937 |
+ #define NFA_ADD_NL 31
|
|
|
22c937 |
+
|
|
|
22c937 |
enum
|
|
|
22c937 |
{
|
|
|
22c937 |
NFA_SPLIT = -1024,
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 183,188 ****
|
|
|
22c937 |
--- 186,198 ----
|
|
|
22c937 |
NFA_NLOWER, /* Match non-lowercase char */
|
|
|
22c937 |
NFA_UPPER, /* Match uppercase char */
|
|
|
22c937 |
NFA_NUPPER, /* Match non-uppercase char */
|
|
|
22c937 |
+ NFA_LOWER_IC, /* Match [a-z] */
|
|
|
22c937 |
+ NFA_NLOWER_IC, /* Match [^a-z] */
|
|
|
22c937 |
+ NFA_UPPER_IC, /* Match [A-Z] */
|
|
|
22c937 |
+ NFA_NUPPER_IC, /* Match [^A-Z] */
|
|
|
22c937 |
+
|
|
|
22c937 |
+ NFA_FIRST_NL = NFA_ANY + NFA_ADD_NL,
|
|
|
22c937 |
+ NFA_LAST_NL = NFA_NUPPER_IC + NFA_ADD_NL,
|
|
|
22c937 |
|
|
|
22c937 |
NFA_CURSOR, /* Match cursor pos */
|
|
|
22c937 |
NFA_LNUM, /* Match line number */
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 199,207 ****
|
|
|
22c937 |
NFA_MARK_LT, /* Match < mark */
|
|
|
22c937 |
NFA_VISUAL, /* Match Visual area */
|
|
|
22c937 |
|
|
|
22c937 |
- NFA_FIRST_NL = NFA_ANY + ADD_NL,
|
|
|
22c937 |
- NFA_LAST_NL = NFA_NUPPER + ADD_NL,
|
|
|
22c937 |
-
|
|
|
22c937 |
/* Character classes [:alnum:] etc */
|
|
|
22c937 |
NFA_CLASS_ALNUM,
|
|
|
22c937 |
NFA_CLASS_ALPHA,
|
|
|
22c937 |
--- 209,214 ----
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 578,583 ****
|
|
|
22c937 |
--- 585,592 ----
|
|
|
22c937 |
* On failure, return 0 (=FAIL)
|
|
|
22c937 |
* Start points to the first char of the range, while end should point
|
|
|
22c937 |
* to the closing brace.
|
|
|
22c937 |
+ * Keep in mind that 'ignorecase' applies at execution time, thus [a-z] may
|
|
|
22c937 |
+ * need to be interpreted as [a-zA-Z].
|
|
|
22c937 |
*/
|
|
|
22c937 |
static int
|
|
|
22c937 |
nfa_recognize_char_class(start, end, extra_newl)
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 681,687 ****
|
|
|
22c937 |
return FAIL;
|
|
|
22c937 |
|
|
|
22c937 |
if (newl == TRUE)
|
|
|
22c937 |
! extra_newl = ADD_NL;
|
|
|
22c937 |
|
|
|
22c937 |
switch (config)
|
|
|
22c937 |
{
|
|
|
22c937 |
--- 690,696 ----
|
|
|
22c937 |
return FAIL;
|
|
|
22c937 |
|
|
|
22c937 |
if (newl == TRUE)
|
|
|
22c937 |
! extra_newl = NFA_ADD_NL;
|
|
|
22c937 |
|
|
|
22c937 |
switch (config)
|
|
|
22c937 |
{
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 710,722 ****
|
|
|
22c937 |
case CLASS_not | CLASS_az | CLASS_AZ:
|
|
|
22c937 |
return extra_newl + NFA_NALPHA;
|
|
|
22c937 |
case CLASS_az:
|
|
|
22c937 |
! return extra_newl + NFA_LOWER;
|
|
|
22c937 |
case CLASS_not | CLASS_az:
|
|
|
22c937 |
! return extra_newl + NFA_NLOWER;
|
|
|
22c937 |
case CLASS_AZ:
|
|
|
22c937 |
! return extra_newl + NFA_UPPER;
|
|
|
22c937 |
case CLASS_not | CLASS_AZ:
|
|
|
22c937 |
! return extra_newl + NFA_NUPPER;
|
|
|
22c937 |
}
|
|
|
22c937 |
return FAIL;
|
|
|
22c937 |
}
|
|
|
22c937 |
--- 719,731 ----
|
|
|
22c937 |
case CLASS_not | CLASS_az | CLASS_AZ:
|
|
|
22c937 |
return extra_newl + NFA_NALPHA;
|
|
|
22c937 |
case CLASS_az:
|
|
|
22c937 |
! return extra_newl + NFA_LOWER_IC;
|
|
|
22c937 |
case CLASS_not | CLASS_az:
|
|
|
22c937 |
! return extra_newl + NFA_NLOWER_IC;
|
|
|
22c937 |
case CLASS_AZ:
|
|
|
22c937 |
! return extra_newl + NFA_UPPER_IC;
|
|
|
22c937 |
case CLASS_not | CLASS_AZ:
|
|
|
22c937 |
! return extra_newl + NFA_NUPPER_IC;
|
|
|
22c937 |
}
|
|
|
22c937 |
return FAIL;
|
|
|
22c937 |
}
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 914,920 ****
|
|
|
22c937 |
break;
|
|
|
22c937 |
}
|
|
|
22c937 |
|
|
|
22c937 |
! extra = ADD_NL;
|
|
|
22c937 |
|
|
|
22c937 |
/* "\_[" is collection plus newline */
|
|
|
22c937 |
if (c == '[')
|
|
|
22c937 |
--- 923,929 ----
|
|
|
22c937 |
break;
|
|
|
22c937 |
}
|
|
|
22c937 |
|
|
|
22c937 |
! extra = NFA_ADD_NL;
|
|
|
22c937 |
|
|
|
22c937 |
/* "\_[" is collection plus newline */
|
|
|
22c937 |
if (c == '[')
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 970,976 ****
|
|
|
22c937 |
}
|
|
|
22c937 |
#endif
|
|
|
22c937 |
EMIT(nfa_classcodes[p - classchars]);
|
|
|
22c937 |
! if (extra == ADD_NL)
|
|
|
22c937 |
{
|
|
|
22c937 |
EMIT(NFA_NEWL);
|
|
|
22c937 |
EMIT(NFA_OR);
|
|
|
22c937 |
--- 979,985 ----
|
|
|
22c937 |
}
|
|
|
22c937 |
#endif
|
|
|
22c937 |
EMIT(nfa_classcodes[p - classchars]);
|
|
|
22c937 |
! if (extra == NFA_ADD_NL)
|
|
|
22c937 |
{
|
|
|
22c937 |
EMIT(NFA_NEWL);
|
|
|
22c937 |
EMIT(NFA_OR);
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 1240,1260 ****
|
|
|
22c937 |
{
|
|
|
22c937 |
/*
|
|
|
22c937 |
* Try to reverse engineer character classes. For example,
|
|
|
22c937 |
! * recognize that [0-9] stands for \d and [A-Za-z_] with \h,
|
|
|
22c937 |
* and perform the necessary substitutions in the NFA.
|
|
|
22c937 |
*/
|
|
|
22c937 |
result = nfa_recognize_char_class(regparse, endp,
|
|
|
22c937 |
! extra == ADD_NL);
|
|
|
22c937 |
if (result != FAIL)
|
|
|
22c937 |
{
|
|
|
22c937 |
! if (result >= NFA_DIGIT && result <= NFA_NUPPER)
|
|
|
22c937 |
! EMIT(result);
|
|
|
22c937 |
! else /* must be char class + newline */
|
|
|
22c937 |
{
|
|
|
22c937 |
! EMIT(result - ADD_NL);
|
|
|
22c937 |
EMIT(NFA_NEWL);
|
|
|
22c937 |
EMIT(NFA_OR);
|
|
|
22c937 |
}
|
|
|
22c937 |
regparse = endp;
|
|
|
22c937 |
mb_ptr_adv(regparse);
|
|
|
22c937 |
return OK;
|
|
|
22c937 |
--- 1249,1269 ----
|
|
|
22c937 |
{
|
|
|
22c937 |
/*
|
|
|
22c937 |
* Try to reverse engineer character classes. For example,
|
|
|
22c937 |
! * recognize that [0-9] stands for \d and [A-Za-z_] for \h,
|
|
|
22c937 |
* and perform the necessary substitutions in the NFA.
|
|
|
22c937 |
*/
|
|
|
22c937 |
result = nfa_recognize_char_class(regparse, endp,
|
|
|
22c937 |
! extra == NFA_ADD_NL);
|
|
|
22c937 |
if (result != FAIL)
|
|
|
22c937 |
{
|
|
|
22c937 |
! if (result >= NFA_FIRST_NL && result <= NFA_LAST_NL)
|
|
|
22c937 |
{
|
|
|
22c937 |
! EMIT(result - NFA_ADD_NL);
|
|
|
22c937 |
EMIT(NFA_NEWL);
|
|
|
22c937 |
EMIT(NFA_OR);
|
|
|
22c937 |
}
|
|
|
22c937 |
+ else
|
|
|
22c937 |
+ EMIT(result);
|
|
|
22c937 |
regparse = endp;
|
|
|
22c937 |
mb_ptr_adv(regparse);
|
|
|
22c937 |
return OK;
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 1504,1510 ****
|
|
|
22c937 |
* collection, add an OR below. But not for negated
|
|
|
22c937 |
* range. */
|
|
|
22c937 |
if (!negated)
|
|
|
22c937 |
! extra = ADD_NL;
|
|
|
22c937 |
}
|
|
|
22c937 |
else
|
|
|
22c937 |
{
|
|
|
22c937 |
--- 1513,1519 ----
|
|
|
22c937 |
* collection, add an OR below. But not for negated
|
|
|
22c937 |
* range. */
|
|
|
22c937 |
if (!negated)
|
|
|
22c937 |
! extra = NFA_ADD_NL;
|
|
|
22c937 |
}
|
|
|
22c937 |
else
|
|
|
22c937 |
{
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 1537,1543 ****
|
|
|
22c937 |
EMIT(NFA_END_COLL);
|
|
|
22c937 |
|
|
|
22c937 |
/* \_[] also matches \n but it's not negated */
|
|
|
22c937 |
! if (extra == ADD_NL)
|
|
|
22c937 |
{
|
|
|
22c937 |
EMIT(reg_string ? NL : NFA_NEWL);
|
|
|
22c937 |
EMIT(NFA_OR);
|
|
|
22c937 |
--- 1546,1552 ----
|
|
|
22c937 |
EMIT(NFA_END_COLL);
|
|
|
22c937 |
|
|
|
22c937 |
/* \_[] also matches \n but it's not negated */
|
|
|
22c937 |
! if (extra == NFA_ADD_NL)
|
|
|
22c937 |
{
|
|
|
22c937 |
EMIT(reg_string ? NL : NFA_NEWL);
|
|
|
22c937 |
EMIT(NFA_OR);
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 2011,2017 ****
|
|
|
22c937 |
if (c >= NFA_FIRST_NL && c <= NFA_LAST_NL)
|
|
|
22c937 |
{
|
|
|
22c937 |
addnl = TRUE;
|
|
|
22c937 |
! c -= ADD_NL;
|
|
|
22c937 |
}
|
|
|
22c937 |
|
|
|
22c937 |
STRCPY(code, "");
|
|
|
22c937 |
--- 2020,2026 ----
|
|
|
22c937 |
if (c >= NFA_FIRST_NL && c <= NFA_LAST_NL)
|
|
|
22c937 |
{
|
|
|
22c937 |
addnl = TRUE;
|
|
|
22c937 |
! c -= NFA_ADD_NL;
|
|
|
22c937 |
}
|
|
|
22c937 |
|
|
|
22c937 |
STRCPY(code, "");
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 2217,2222 ****
|
|
|
22c937 |
--- 2226,2235 ----
|
|
|
22c937 |
case NFA_NLOWER:STRCPY(code, "NFA_NLOWER"); break;
|
|
|
22c937 |
case NFA_UPPER: STRCPY(code, "NFA_UPPER"); break;
|
|
|
22c937 |
case NFA_NUPPER:STRCPY(code, "NFA_NUPPER"); break;
|
|
|
22c937 |
+ case NFA_LOWER_IC: STRCPY(code, "NFA_LOWER_IC"); break;
|
|
|
22c937 |
+ case NFA_NLOWER_IC: STRCPY(code, "NFA_NLOWER_IC"); break;
|
|
|
22c937 |
+ case NFA_UPPER_IC: STRCPY(code, "NFA_UPPER_IC"); break;
|
|
|
22c937 |
+ case NFA_NUPPER_IC: STRCPY(code, "NFA_NUPPER_IC"); break;
|
|
|
22c937 |
|
|
|
22c937 |
default:
|
|
|
22c937 |
STRCPY(code, "CHAR(x)");
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 2687,2692 ****
|
|
|
22c937 |
--- 2700,2709 ----
|
|
|
22c937 |
case NFA_NLOWER:
|
|
|
22c937 |
case NFA_UPPER:
|
|
|
22c937 |
case NFA_NUPPER:
|
|
|
22c937 |
+ case NFA_LOWER_IC:
|
|
|
22c937 |
+ case NFA_NLOWER_IC:
|
|
|
22c937 |
+ case NFA_UPPER_IC:
|
|
|
22c937 |
+ case NFA_NUPPER_IC:
|
|
|
22c937 |
/* possibly non-ascii */
|
|
|
22c937 |
#ifdef FEAT_MBYTE
|
|
|
22c937 |
if (has_mbyte)
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 3841,3846 ****
|
|
|
22c937 |
--- 3858,3867 ----
|
|
|
22c937 |
case NFA_NLOWER:
|
|
|
22c937 |
case NFA_UPPER:
|
|
|
22c937 |
case NFA_NUPPER:
|
|
|
22c937 |
+ case NFA_LOWER_IC:
|
|
|
22c937 |
+ case NFA_NLOWER_IC:
|
|
|
22c937 |
+ case NFA_UPPER_IC:
|
|
|
22c937 |
+ case NFA_NUPPER_IC:
|
|
|
22c937 |
case NFA_START_COLL:
|
|
|
22c937 |
case NFA_START_NEG_COLL:
|
|
|
22c937 |
case NFA_NEWL:
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 5872,5877 ****
|
|
|
22c937 |
--- 5893,5920 ----
|
|
|
22c937 |
ADD_STATE_IF_MATCH(t->state);
|
|
|
22c937 |
break;
|
|
|
22c937 |
|
|
|
22c937 |
+ case NFA_LOWER_IC: /* [a-z] */
|
|
|
22c937 |
+ result = ri_lower(curc) || (ireg_ic && ri_upper(curc));
|
|
|
22c937 |
+ ADD_STATE_IF_MATCH(t->state);
|
|
|
22c937 |
+ break;
|
|
|
22c937 |
+
|
|
|
22c937 |
+ case NFA_NLOWER_IC: /* [^a-z] */
|
|
|
22c937 |
+ result = curc != NUL
|
|
|
22c937 |
+ && !(ri_lower(curc) || (ireg_ic && ri_upper(curc)));
|
|
|
22c937 |
+ ADD_STATE_IF_MATCH(t->state);
|
|
|
22c937 |
+ break;
|
|
|
22c937 |
+
|
|
|
22c937 |
+ case NFA_UPPER_IC: /* [A-Z] */
|
|
|
22c937 |
+ result = ri_upper(curc) || (ireg_ic && ri_lower(curc));
|
|
|
22c937 |
+ ADD_STATE_IF_MATCH(t->state);
|
|
|
22c937 |
+ break;
|
|
|
22c937 |
+
|
|
|
22c937 |
+ case NFA_NUPPER_IC: /* ^[A-Z] */
|
|
|
22c937 |
+ result = curc != NUL
|
|
|
22c937 |
+ && !(ri_upper(curc) || (ireg_ic && ri_lower(curc)));
|
|
|
22c937 |
+ ADD_STATE_IF_MATCH(t->state);
|
|
|
22c937 |
+ break;
|
|
|
22c937 |
+
|
|
|
22c937 |
case NFA_BACKREF1:
|
|
|
22c937 |
case NFA_BACKREF2:
|
|
|
22c937 |
case NFA_BACKREF3:
|
|
|
22c937 |
*** ../vim-7.4.000/src/testdir/test64.in 2013-08-01 17:45:33.000000000 +0200
|
|
|
22c937 |
--- src/testdir/test64.in 2013-08-14 11:50:11.000000000 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 289,303 ****
|
|
|
22c937 |
:call add(tl, [2, '.a\%$', " a\n "])
|
|
|
22c937 |
:call add(tl, [2, '.a\%$', " a\n_a", "_a"])
|
|
|
22c937 |
:"
|
|
|
22c937 |
! :"""" Test recognition of some character classes
|
|
|
22c937 |
! :call add(tl, [2, '[0-9]', '8', '8'])
|
|
|
22c937 |
! :call add(tl, [2, '[^0-9]', '8'])
|
|
|
22c937 |
! :call add(tl, [2, '[0-9a-fA-F]*', '0a7', '0a7'])
|
|
|
22c937 |
! :call add(tl, [2, '[^0-9A-Fa-f]\+', '0a7'])
|
|
|
22c937 |
! :call add(tl, [2, '[a-z_A-Z0-9]\+', 'aso_sfoij', 'aso_sfoij'])
|
|
|
22c937 |
! :call add(tl, [2, '[a-z]', 'a', 'a'])
|
|
|
22c937 |
! :call add(tl, [2, '[a-zA-Z]', 'a', 'a'])
|
|
|
22c937 |
! :call add(tl, [2, '[A-Z]', 'a'])
|
|
|
22c937 |
:call add(tl, [2, '\C[^A-Z]\+', 'ABCOIJDEOIFNSD jsfoij sa', ' jsfoij sa'])
|
|
|
22c937 |
:"
|
|
|
22c937 |
:"""" Tests for \z features
|
|
|
22c937 |
--- 289,317 ----
|
|
|
22c937 |
:call add(tl, [2, '.a\%$', " a\n "])
|
|
|
22c937 |
:call add(tl, [2, '.a\%$', " a\n_a", "_a"])
|
|
|
22c937 |
:"
|
|
|
22c937 |
! :"""" Test recognition of character classes
|
|
|
22c937 |
! :call add(tl, [2, '[0-7]\+', 'x0123456789x', '01234567'])
|
|
|
22c937 |
! :call add(tl, [2, '[^0-7]\+', '0a;X+% 897', 'a;X+% 89'])
|
|
|
22c937 |
! :call add(tl, [2, '[0-9]\+', 'x0123456789x', '0123456789'])
|
|
|
22c937 |
! :call add(tl, [2, '[^0-9]\+', '0a;X+% 9', 'a;X+% '])
|
|
|
22c937 |
! :call add(tl, [2, '[0-9a-fA-F]\+', 'x0189abcdefg', '0189abcdef'])
|
|
|
22c937 |
! :call add(tl, [2, '[^0-9A-Fa-f]\+', '0189g;X+% ab', 'g;X+% '])
|
|
|
22c937 |
! :call add(tl, [2, '[a-z_A-Z0-9]\+', ';+aso_SfOij ', 'aso_SfOij'])
|
|
|
22c937 |
! :call add(tl, [2, '[^a-z_A-Z0-9]\+', 'aSo_;+% sfOij', ';+% '])
|
|
|
22c937 |
! :call add(tl, [2, '[a-z_A-Z]\+', '0abyz_ABYZ;', 'abyz_ABYZ'])
|
|
|
22c937 |
! :call add(tl, [2, '[^a-z_A-Z]\+', 'abAB_09;+% yzYZ', '09;+% '])
|
|
|
22c937 |
! :call add(tl, [2, '[a-z]\+', '0abcxyz1', 'abcxyz'])
|
|
|
22c937 |
! :call add(tl, [2, '[a-z]\+', 'AabxyzZ', 'abxyz'])
|
|
|
22c937 |
! :call add(tl, [2, '[^a-z]\+', 'a;X09+% x', ';X09+% '])
|
|
|
22c937 |
! :call add(tl, [2, '[^a-z]\+', 'abX0;%yz', 'X0;%'])
|
|
|
22c937 |
! :call add(tl, [2, '[a-zA-Z]\+', '0abABxzXZ9', 'abABxzXZ'])
|
|
|
22c937 |
! :call add(tl, [2, '[^a-zA-Z]\+', 'ab09_;+ XZ', '09_;+ '])
|
|
|
22c937 |
! :call add(tl, [2, '[A-Z]\+', 'aABXYZz', 'ABXYZ'])
|
|
|
22c937 |
! :call add(tl, [2, '[^A-Z]\+', 'ABx0;%YZ', 'x0;%'])
|
|
|
22c937 |
! :call add(tl, [2, '[a-z]\+\c', '0abxyzABXYZ;', 'abxyzABXYZ'])
|
|
|
22c937 |
! :call add(tl, [2, '[A-Z]\+\c', '0abABxzXZ9', 'abABxzXZ'])
|
|
|
22c937 |
! :call add(tl, [2, '\c[^a-z]\+', 'ab09_;+ XZ', '09_;+ '])
|
|
|
22c937 |
! :call add(tl, [2, '\c[^A-Z]\+', 'ab09_;+ XZ', '09_;+ '])
|
|
|
22c937 |
:call add(tl, [2, '\C[^A-Z]\+', 'ABCOIJDEOIFNSD jsfoij sa', ' jsfoij sa'])
|
|
|
22c937 |
:"
|
|
|
22c937 |
:"""" Tests for \z features
|
|
|
22c937 |
*** ../vim-7.4.000/src/testdir/test64.ok 2013-08-01 18:28:56.000000000 +0200
|
|
|
22c937 |
--- src/testdir/test64.ok 2013-08-14 11:50:37.000000000 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 650,679 ****
|
|
|
22c937 |
OK 0 - .a\%$
|
|
|
22c937 |
OK 1 - .a\%$
|
|
|
22c937 |
OK 2 - .a\%$
|
|
|
22c937 |
! OK 0 - [0-9]
|
|
|
22c937 |
! OK 1 - [0-9]
|
|
|
22c937 |
! OK 2 - [0-9]
|
|
|
22c937 |
! OK 0 - [^0-9]
|
|
|
22c937 |
! OK 1 - [^0-9]
|
|
|
22c937 |
! OK 2 - [^0-9]
|
|
|
22c937 |
! OK 0 - [0-9a-fA-F]*
|
|
|
22c937 |
! OK 1 - [0-9a-fA-F]*
|
|
|
22c937 |
! OK 2 - [0-9a-fA-F]*
|
|
|
22c937 |
OK 0 - [^0-9A-Fa-f]\+
|
|
|
22c937 |
OK 1 - [^0-9A-Fa-f]\+
|
|
|
22c937 |
OK 2 - [^0-9A-Fa-f]\+
|
|
|
22c937 |
OK 0 - [a-z_A-Z0-9]\+
|
|
|
22c937 |
OK 1 - [a-z_A-Z0-9]\+
|
|
|
22c937 |
OK 2 - [a-z_A-Z0-9]\+
|
|
|
22c937 |
! OK 0 - [a-z]
|
|
|
22c937 |
! OK 1 - [a-z]
|
|
|
22c937 |
! OK 2 - [a-z]
|
|
|
22c937 |
! OK 0 - [a-zA-Z]
|
|
|
22c937 |
! OK 1 - [a-zA-Z]
|
|
|
22c937 |
! OK 2 - [a-zA-Z]
|
|
|
22c937 |
! OK 0 - [A-Z]
|
|
|
22c937 |
! OK 1 - [A-Z]
|
|
|
22c937 |
! OK 2 - [A-Z]
|
|
|
22c937 |
OK 0 - \C[^A-Z]\+
|
|
|
22c937 |
OK 1 - \C[^A-Z]\+
|
|
|
22c937 |
OK 2 - \C[^A-Z]\+
|
|
|
22c937 |
--- 650,721 ----
|
|
|
22c937 |
OK 0 - .a\%$
|
|
|
22c937 |
OK 1 - .a\%$
|
|
|
22c937 |
OK 2 - .a\%$
|
|
|
22c937 |
! OK 0 - [0-7]\+
|
|
|
22c937 |
! OK 1 - [0-7]\+
|
|
|
22c937 |
! OK 2 - [0-7]\+
|
|
|
22c937 |
! OK 0 - [^0-7]\+
|
|
|
22c937 |
! OK 1 - [^0-7]\+
|
|
|
22c937 |
! OK 2 - [^0-7]\+
|
|
|
22c937 |
! OK 0 - [0-9]\+
|
|
|
22c937 |
! OK 1 - [0-9]\+
|
|
|
22c937 |
! OK 2 - [0-9]\+
|
|
|
22c937 |
! OK 0 - [^0-9]\+
|
|
|
22c937 |
! OK 1 - [^0-9]\+
|
|
|
22c937 |
! OK 2 - [^0-9]\+
|
|
|
22c937 |
! OK 0 - [0-9a-fA-F]\+
|
|
|
22c937 |
! OK 1 - [0-9a-fA-F]\+
|
|
|
22c937 |
! OK 2 - [0-9a-fA-F]\+
|
|
|
22c937 |
OK 0 - [^0-9A-Fa-f]\+
|
|
|
22c937 |
OK 1 - [^0-9A-Fa-f]\+
|
|
|
22c937 |
OK 2 - [^0-9A-Fa-f]\+
|
|
|
22c937 |
OK 0 - [a-z_A-Z0-9]\+
|
|
|
22c937 |
OK 1 - [a-z_A-Z0-9]\+
|
|
|
22c937 |
OK 2 - [a-z_A-Z0-9]\+
|
|
|
22c937 |
! OK 0 - [^a-z_A-Z0-9]\+
|
|
|
22c937 |
! OK 1 - [^a-z_A-Z0-9]\+
|
|
|
22c937 |
! OK 2 - [^a-z_A-Z0-9]\+
|
|
|
22c937 |
! OK 0 - [a-z_A-Z]\+
|
|
|
22c937 |
! OK 1 - [a-z_A-Z]\+
|
|
|
22c937 |
! OK 2 - [a-z_A-Z]\+
|
|
|
22c937 |
! OK 0 - [^a-z_A-Z]\+
|
|
|
22c937 |
! OK 1 - [^a-z_A-Z]\+
|
|
|
22c937 |
! OK 2 - [^a-z_A-Z]\+
|
|
|
22c937 |
! OK 0 - [a-z]\+
|
|
|
22c937 |
! OK 1 - [a-z]\+
|
|
|
22c937 |
! OK 2 - [a-z]\+
|
|
|
22c937 |
! OK 0 - [a-z]\+
|
|
|
22c937 |
! OK 1 - [a-z]\+
|
|
|
22c937 |
! OK 2 - [a-z]\+
|
|
|
22c937 |
! OK 0 - [^a-z]\+
|
|
|
22c937 |
! OK 1 - [^a-z]\+
|
|
|
22c937 |
! OK 2 - [^a-z]\+
|
|
|
22c937 |
! OK 0 - [^a-z]\+
|
|
|
22c937 |
! OK 1 - [^a-z]\+
|
|
|
22c937 |
! OK 2 - [^a-z]\+
|
|
|
22c937 |
! OK 0 - [a-zA-Z]\+
|
|
|
22c937 |
! OK 1 - [a-zA-Z]\+
|
|
|
22c937 |
! OK 2 - [a-zA-Z]\+
|
|
|
22c937 |
! OK 0 - [^a-zA-Z]\+
|
|
|
22c937 |
! OK 1 - [^a-zA-Z]\+
|
|
|
22c937 |
! OK 2 - [^a-zA-Z]\+
|
|
|
22c937 |
! OK 0 - [A-Z]\+
|
|
|
22c937 |
! OK 1 - [A-Z]\+
|
|
|
22c937 |
! OK 2 - [A-Z]\+
|
|
|
22c937 |
! OK 0 - [^A-Z]\+
|
|
|
22c937 |
! OK 1 - [^A-Z]\+
|
|
|
22c937 |
! OK 2 - [^A-Z]\+
|
|
|
22c937 |
! OK 0 - [a-z]\+\c
|
|
|
22c937 |
! OK 1 - [a-z]\+\c
|
|
|
22c937 |
! OK 2 - [a-z]\+\c
|
|
|
22c937 |
! OK 0 - [A-Z]\+\c
|
|
|
22c937 |
! OK 1 - [A-Z]\+\c
|
|
|
22c937 |
! OK 2 - [A-Z]\+\c
|
|
|
22c937 |
! OK 0 - \c[^a-z]\+
|
|
|
22c937 |
! OK 1 - \c[^a-z]\+
|
|
|
22c937 |
! OK 2 - \c[^a-z]\+
|
|
|
22c937 |
! OK 0 - \c[^A-Z]\+
|
|
|
22c937 |
! OK 1 - \c[^A-Z]\+
|
|
|
22c937 |
! OK 2 - \c[^A-Z]\+
|
|
|
22c937 |
OK 0 - \C[^A-Z]\+
|
|
|
22c937 |
OK 1 - \C[^A-Z]\+
|
|
|
22c937 |
OK 2 - \C[^A-Z]\+
|
|
|
22c937 |
*** ../vim-7.4.000/src/version.c 2013-08-10 13:29:20.000000000 +0200
|
|
|
22c937 |
--- src/version.c 2013-08-14 11:54:57.000000000 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 729,730 ****
|
|
|
22c937 |
--- 729,732 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 1,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
How many light bulbs does it take to change a person?
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|