| 1 |
# Copyright: 2018 Masatake YAMATO |
| 2 |
# License: GPL-2 |
| 3 |
|
| 4 |
CTAGS="$1 --quiet --options=NONE" |
| 5 |
|
| 6 |
. ../utils.sh |
| 7 |
|
| 8 |
echo2 param: '|(.)|\1|x,name| => acceptable' |
| 9 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,name|' --list-kinds-full=x |
| 10 |
|
| 11 |
echo2 param: '|(.)|\1|x,name,documents| => acceptable' |
| 12 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,name,documents|' --list-kinds-full=x |
| 13 |
|
| 14 |
echo2 param: '|(.)|\1|x,name,0documents| => acceptable' |
| 15 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,name,0documents|' --list-kinds-full=x |
| 16 |
|
| 17 |
echo2 param: '|(.)|\1|x,name,doc uments| => acceptable' |
| 18 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,name,doc uments|' --list-kinds-full=x |
| 19 |
|
| 20 |
echo2 param: '|(.)|\1|x,name0| => acceptable' |
| 21 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,name0|' --list-kinds-full=x |
| 22 |
|
| 23 |
echo2 param: '|(.)|\1|x,name0,documents| => acceptable' |
| 24 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,name0,documents|' --list-kinds-full=x |
| 25 |
|
| 26 |
echo2 param: '|(.)|\1|x,name0,0documents| => acceptable' |
| 27 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,name0,0documents|' --list-kinds-full=x |
| 28 |
|
| 29 |
echo2 param: '|(.)|\1|x,name0,doc uments| => acceptable' |
| 30 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,name0,doc uments|' --list-kinds-full=x |
| 31 |
|
| 32 |
echo2 param: '|(.)|\1|x,0name| => unacceptable' |
| 33 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,0name|' --list-kinds-full=x |
| 34 |
|
| 35 |
echo2 param: '|(.)|\1|x,0name,documents| => unacceptable' |
| 36 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,0name,documents|' --list-kinds-full=x |
| 37 |
|
| 38 |
echo2 param: '|(.)|\1|x,0name,0documents| => unacceptable' |
| 39 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,0name,0documents|' --list-kinds-full=x |
| 40 |
|
| 41 |
echo2 param: '|(.)|\1|x,0name,doc uments| => unacceptable' |
| 42 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,0name,doc uments|' --list-kinds-full=x |
| 43 |
|
| 44 |
echo2 param: '|(.)|\1|x,na me| => unacceptable' |
| 45 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,na me|' --list-kinds-full=x |
| 46 |
|
| 47 |
echo2 param: '|(.)|\1|x,na me,documents| => unacceptable' |
| 48 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,na me,documents|' --list-kinds-full=x |
| 49 |
|
| 50 |
echo2 param: '|(.)|\1|x,na me,0documents| => unacceptable' |
| 51 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,na me,0documents|' --list-kinds-full=x |
| 52 |
|
| 53 |
echo2 param: '|(.)|\1|x,na me,doc uments| => unacceptable' |
| 54 |
${CTAGS} --langdef=x --regex-x='|(.)|\1|x,na me,doc uments|' --list-kinds-full=x |