1 | static Pattern noUnixTricks_allowedCharacters = regexpIC("[a-z0-9\\- ]*"); |
2 | |
3 | static S noUnixTricks(S s) { |
4 | if (noUnixTricks_allowedCharacters.matcher(s).matches()) |
5 | ret s; |
6 | fail("You bloody hound. " + quote(s)); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013007 |
Snippet name: | noUnixTricks |
Eternal ID of this version: | #1013007/2 |
Text MD5: | 6f67b42332f684aed1334d0ef8b9c653 |
Author: | stefan |
Category: | javax / os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-20 23:37:42 |
Source code size: | 223 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 375 / 389 |
Version history: | 1 change(s) |
Referenced in: | [show references] |