1 | static bool containsUnsafePlatformCmdLineChar(S s) {
|
2 | ret containsRegexp(s, "[\\|&;<>()\\$`\\\\\"' \t\r\n\\*\\?\\[#~=%]"); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016317 |
| Snippet name: | containsUnsafePlatformCmdLineChar - characters that should be escaped in command lines |
| Eternal ID of this version: | #1016317/1 |
| Text MD5: | 9e528670f65f4db8b7822dabc6cf0f8f |
| Author: | stefan |
| Category: | javax / os |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-14 12:14:16 |
| Source code size: | 127 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 573 / 607 |
| Referenced in: | [show references] |