sbool containsWord_regexp(S s, S word) { ret containsRegexpIC(s, "\\b" + regexpQuote(word) + "\\b"); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1019376 |
| Snippet name: | containsWord_regexp - use regexp word boundaries - word is not a regexp |
| Eternal ID of this version: | #1019376/1 |
| Text MD5: | 5da57a69b8bcd20113d8eb4e7922f6fd |
| Author: | stefan |
| Category: | javax / stefan's os |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-11-04 17:46:09 |
| Source code size: | 106 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 623 / 687 |
| Referenced in: | [show references] |