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

3
LINES

< > BotCompany Repo | #1026551 - cicWithSmartWordBoundary - expect word boundary if first or last character is a letter or digit

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

Libraryless. Click here for Pure Java version (2310L/15K).

sbool cicWithSmartWordBoundary(S a, S b) {
  ret containsRegexpIC(a, phraseToRegExp(b));
}

download  show line numbers  debug dex   

Travelled to 3 computer(s): mqqgnosmbjvj, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026551
Snippet name: cicWithSmartWordBoundary - expect word boundary if first or last character is a letter or digit
Eternal ID of this version: #1026551/4
Text MD5: 53eb36791c6a1e0154f8b187f28061e3
Transpilation MD5: 72602c88ba4d43e7337ff3369311e566
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-21 15:00:49
Source code size: 92 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 29 / 48
Version history: 3 change(s)
Referenced in: [show references]

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