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

5
LINES

< > BotCompany Repo | #1030736 // flexMatchAngleBracketVarsIC_first - match angle var pattern (e.g. "<thing> is <adjective>") with input (e.g. "the water is very hot"). return first mapping

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5524L/34K).

static SS flexMatchAngleBracketVarsIC_first(S pat, S input) {
  ret grabValueAndCancel(voidfunc(VF1<SS> onMatch) {
    flexMatchAngleBracketVarsIC_iterate(pat, input, onMatch);
  });
}

Author comment

Began life as a copy of #1024305

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030736
Snippet name: flexMatchAngleBracketVarsIC_first - match angle var pattern (e.g. "<thing> is <adjective>") with input (e.g. "the water is very hot"). return first mapping
Eternal ID of this version: #1030736/4
Text MD5: f58d0368afe20e61590860968f9588b7
Transpilation MD5: e02639d71ab1282c99286b3c46f4370e
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-23 22:00:15
Source code size: 188 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 107 / 161
Version history: 3 change(s)
Referenced in: [show references]