static bool isProperlyQuoted(S s) { ret s.length() >= 2 && s.startsWith("\"") && s.endsWith("\"") && (!s.endsWith("\\\"") || s.endsWith("\\\\\"")) && !containsNewLine(s); }
Began life as a copy of #1001135
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003630 |
Snippet name: | isProperlyQuoted - huh? |
Eternal ID of this version: | #1003630/3 |
Text MD5: | 570a4bc9a4129bca85f8629b6a3f2387 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-09 18:07:47 |
Source code size: | 196 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 643 / 811 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1012121 - isProperlyQuoted2 - only recognizes double quotes |