Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1012115 // ai_standardAnswer_dollarVars

JavaX fragment (include)

1  
static S ai_standardAnswer_dollarVars(S s) {
2  
  for (Pair<S> p : ai_texts_xy_bothQuoted("$X", "is a standard answer to", "$Y")) {
3  
    SS match = matchDollarVarsIC(p.b, s);
4  
    if (match != null)
5  
      ret formatDollarVars(p.a, match);
6  
  }
7  
  null;
8  
}

Author comment

Began life as a copy of #1011812

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012115
Snippet name: ai_standardAnswer_dollarVars
Eternal ID of this version: #1012115/4
Text MD5: 827150042f2bb77fc8d70220909770a4
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-20 09:15:13
Source code size: 254 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 340 / 375
Version history: 3 change(s)
Referenced in: [show references]