static int indexOfIgnoreCase_usingRegexp(S a, S b) { Matcher m = Pattern.compile(b, Pattern.CASE_INSENSITIVE + Pattern.LITERAL).matcher(a); if (m.find()) return m.start(); else ret -1; }
Began life as a copy of #1000657
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013297 |
Snippet name: | indexOfIgnoreCase_usingRegexp |
Eternal ID of this version: | #1013297/1 |
Text MD5: | 76329a45309decc1c3873aee391a561e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-31 08:17:20 |
Source code size: | 193 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 449 / 467 |
Referenced in: | [show references] |