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).

sbool match3_startOrEndOfLine(S pat, S s, bool startOfLine, bool endOfLine) {
  if (startOfLine)
    ret endOfLine ? match3(pat, s) : matchStart(pat, s);
  else
    ret endOfLine ? matchEnd(pat, s) : find3(pat, s);
}

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, 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: 35 / 66
Referenced in: [show references]

Formerly at http://tinybrain.de/1028076 & http://1028076.tinybrain.de