sclass NLStringMatcher_dollarVars extends StringMatcher { // change matches only if returning true bool match(S pat, S input, SS matches) { SS newMatches = matchDollarVarsIC(pat, input); ret newMatches != null && addMapToMapWithoutOverwritingIC(matches, newMatches); } S apply(S input, SS matches) { ret replaceVars(input, matches); } }
Began life as a copy of #1017586
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: | #1017592 |
Snippet name: | NLStringMatcher_dollarVars |
Eternal ID of this version: | #1017592/4 |
Text MD5: | 2d3d4c5359f9c0075e02c9b4281e7966 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-15 15:59:12 |
Source code size: | 371 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 356 / 923 |
Version history: | 3 change(s) |
Referenced in: | [show references] |