it was deprecated in lua code, but here the code is new. The documentation
don't mention it either.
ok reyk@
-/* $OpenBSD: patterns.c,v 1.1 2015/06/23 15:23:14 reyk Exp $ */
+/* $OpenBSD: patterns.c,v 1.2 2015/06/23 15:35:20 semarie Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
/*
* Derived from Lua 5.3.1:
- * $Id: patterns.c,v 1.1 2015/06/23 15:23:14 reyk Exp $
+ * $Id: patterns.c,v 1.2 2015/06/23 15:35:20 semarie Exp $
* Standard library for string operations and pattern-matching
*/
case 'x':
res = isxdigit(c);
break;
- case 'z':
- res = (c == 0);
- break; /* deprecated option */
default:
return (cl == c);
}