Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1013007 // noUnixTricks

JavaX fragment (include)

static Pattern noUnixTricks_allowedCharacters = regexpIC("[a-z0-9\\- ]*");

static S noUnixTricks(S s) {
  if (noUnixTricks_allowedCharacters.matcher(s).matches())
    ret s;
  fail("You bloody hound. " + quote(s));
}

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: 376 / 389
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)