sclass NLStringMatcher_dollarVars_underscores extends StringMatcher { // change matches only if returning true bool match(S pat, S input, SS matches) { SS newMatches = matchDollarVarsIC_underscores(pat, input); ret newMatches != null && addMapToMapWithoutOverwritingIC(matches, newMatches); } }
Began life as a copy of #1017592
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: | #1017696 |
Snippet name: | NLStringMatcher_dollarVars_underscores - multi-word variables like "$likes_people" |
Eternal ID of this version: | #1017696/4 |
Text MD5: | 15e3ca1ab0fd1810a82942a917b7a59e |
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-18 23:30:02 |
Source code size: | 314 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 454 / 1000 |
Version history: | 3 change(s) |
Referenced in: | #1017830 - Test NLStringMatcher_dollarVars_underscores (OK) #1017838 - NLStringMatcher_dollarVars_underscores_dollarDollar - supports "$$x" to mean whole string #1017876 - CombinedStringMatcher #1017877 - NLStringMatcher_dollarVars_plusBrackets #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |