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

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

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: #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: 316 / 424
Version history: 3 change(s)
Referenced in: [show references]