Download Jar. Libraryless. Click here for Pure Java version (7253L/52K).
1 | !7 |
2 | |
3 | p-exp { |
4 | S pat = "how many $faces are on a $rubiks_cube"; |
5 | S s = "how many segments are on a {face of a rubik's cube}"; |
6 | |
7 | new SS matches; |
8 | print(new NLStringMatcher_dollarVars_underscores_dollarDollar().match(pat, s, matches)); |
9 | printStruct(matches); |
10 | printStruct(matchDollarVarsIC_plusBrackets(pat, s)); |
11 | } |
Began life as a copy of #1017830
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017872 |
Snippet name: | Test NLStringMatcher_dollarVars_underscores_dollarDollar with curly phrases (dev.) |
Eternal ID of this version: | #1017872/5 |
Text MD5: | 37d3d76b809552e53bbbaf1616ed11e5 |
Transpilation MD5: | 1ba70e0dc984260a47f049d044dd5c8c |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-18 23:28:49 |
Source code size: | 326 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 356 / 957 |
Version history: | 4 change(s) |
Referenced in: | [show references] |