Libraryless. Click here for Pure Java version (4583L/21K).
1 | set flag Reparse. // make Java code prettier |
2 | |
3 | static bool greetingDetector(S s) { |
4 | ret mmo2_match(collapse("hi!, how!, how're, how's, what, what's, hello!, ^good!"), collapse(s)); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030059 |
Snippet name: | Greeting Detector |
Eternal ID of this version: | #1030059/2 |
Text MD5: | ce72d5c35edff0b6d87f5dfc6d4b09a8 |
Transpilation MD5: | 244139788a64107f2a56bb586e90c455 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-03 14:32:09 |
Source code size: | 186 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 195 / 273 |
Version history: | 1 change(s) |
Referenced in: | [show references] |