// true if all OK sbool ai_check_yearVsYears(S s) { ret !containsAnythingBut(regexpAllFirstGroups("(\\d+) year\\b", s), "1") && !contains(regexpAllFirstGroups("(\\d+) years\\b", s), "1"); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021198 | 
| Snippet name: | ai_check_yearVsYears | 
| Eternal ID of this version: | #1021198/6 | 
| Text MD5: | 1b4603261143f7af948f80c78e65e20c | 
| Author: | stefan | 
| Category: | javax / a.i. | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2019-02-02 23:39:59 | 
| Source code size: | 209 bytes / 5 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 506 / 532 | 
| Version history: | 5 change(s) | 
| Referenced in: | [show references] |