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

13
LINES

< > BotCompany Repo | #1025444 // match3_plusBrackets_uncurly - allows {} in s, drops {} in results

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

Libraryless. Click here for Pure Java version (2988L/19K).

sbool match3_plusBrackets_uncurly(S pat, S s) {
  ret match3_plusBrackets_uncurly(pat, s, null);
}

sbool match3_plusBrackets_uncurly(S pat, S s, Matches matches) {
  if (!match3_plusBrackets(pat, s, matches)) false;
  ret true with uncurlyMatchesInPlace(matches);
}
  
sbool match3_plusBrackets_uncurly(S pat, L<S> toks, Matches matches) {
  if (!match3_plusBrackets(pat, toks, matches)) false;
  ret true with uncurlyMatchesInPlace(matches);
}

Author comment

Began life as a copy of #1017874

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025444
Snippet name: match3_plusBrackets_uncurly - allows {} in s, drops {} in results
Eternal ID of this version: #1025444/1
Text MD5: ac7d609ac34650f7d4b1ea7ff305927d
Transpilation MD5: 275332a14a6d7e49f927f24db8d019d4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-29 01:02:15
Source code size: 457 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 132 / 193
Referenced in: [show references]