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

6
LINES

< > BotCompany Repo | #1028076 // match3_startOrEndOfLine

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

Libraryless. Click here for Pure Java version (2863L/18K).

1  
sbool match3_startOrEndOfLine(S pat, S s, bool startOfLine, bool endOfLine) {
2  
  if (startOfLine)
3  
    ret endOfLine ? match3(pat, s) : matchStart(pat, s);
4  
  else
5  
    ret endOfLine ? matchEnd(pat, s) : find3(pat, s);
6  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1028076
Snippet name: match3_startOrEndOfLine
Eternal ID of this version: #1028076/1
Text MD5: cfb281f7c9e119d1de5445040bf034e3
Transpilation MD5: c35a9dd47785cd1097ca21e9a6e2c2cc
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-17 14:31:10
Source code size: 221 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 237 / 339
Referenced in: [show references]