xref: /netbsd-src/tests/lib/libc/regex/data/error.in (revision 17f9a364e668e2a515980aeea268264bdfd1c52d)
1*17f9a364Spgoyette# certain syntax errors and non-errors
2*17f9a364Spgoyette|		C	EMPTY
3*17f9a364Spgoyette|		b	|	|
4*17f9a364Spgoyette*		C	BADRPT
5*17f9a364Spgoyette*		b	*	*
6*17f9a364Spgoyette+		C	BADRPT
7*17f9a364Spgoyette?		C	BADRPT
8*17f9a364Spgoyette""		&C	EMPTY
9*17f9a364Spgoyette()		-	abc	@abc
10*17f9a364Spgoyette\(\)		b	abc	@abc
11*17f9a364Spgoyettea||b		C	EMPTY
12*17f9a364Spgoyette|ab		C	EMPTY
13*17f9a364Spgoyetteab|		C	EMPTY
14*17f9a364Spgoyette(|a)b		C	EMPTY
15*17f9a364Spgoyette(a|)b		C	EMPTY
16*17f9a364Spgoyette(*a)		C	BADRPT
17*17f9a364Spgoyette(+a)		C	BADRPT
18*17f9a364Spgoyette(?a)		C	BADRPT
19*17f9a364Spgoyette({1}a)		C	BADRPT
20*17f9a364Spgoyette\(\{1\}a\)	bC	BADRPT
21*17f9a364Spgoyette(a|*b)		C	BADRPT
22*17f9a364Spgoyette(a|+b)		C	BADRPT
23*17f9a364Spgoyette(a|?b)		C	BADRPT
24*17f9a364Spgoyette(a|{1}b)	C	BADRPT
25*17f9a364Spgoyette^*		C	BADRPT
26*17f9a364Spgoyette^*		b	*	*
27*17f9a364Spgoyette^+		C	BADRPT
28*17f9a364Spgoyette^?		C	BADRPT
29*17f9a364Spgoyette^{1}		C	BADRPT
30*17f9a364Spgoyette^\{1\}		bC	BADRPT
31