static S ai_tripleAnswer_regexpMatches(T3<S> t) { new Matches m1; new Matches m2; if (eqic(t.b, "matches?") && match("the regexp *", t.a, m1) && match("the string *", t.c, m2) && isQuoted(m1.get(0)) && isQuoted(m2.get(0))) ret yn(safeRegexp(m1.unq(0), m2.unq(0)).matches()); null; }
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: | #1012515 |
| Snippet name: | ai_tripleAnswer_regexpMatches |
| Eternal ID of this version: | #1012515/1 |
| Text MD5: | 6fa6fdeaa2afa6b37bd316e631d047b6 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-06 16:23:46 |
| Source code size: | 300 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 707 / 749 |
| Referenced in: | [show references] |