Libraryless. Click here for Pure Java version (1751L/12K).
1 | static YesNoMaybe containsGazelle(S s) { |
2 | int dist = levenSubstringIC_limited(s, "gazelle", 2); |
3 | ret dist == 0 ? ynm_yes() : dist == 1 ? ynm_maybe() : ynm_no(); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1023883 |
Snippet name: | containsGazelle [coarse procedure] |
Eternal ID of this version: | #1023883/5 |
Text MD5: | 3119daa99c43b8531622be549e399fc5 |
Transpilation MD5: | f128973f4d22f8ce429a4cb822e8fa73 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-11 19:33:31 |
Source code size: | 167 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 215 / 321 |
Version history: | 4 change(s) |
Referenced in: | [show references] |