// s = e.g. "John couldn't see the stage with Billy in front of him because he is so [short/tall]. Who is so [short/tall]?" sS winograd_takeSecondOption(S s) { ret regexpReplaceWithFirstGroup("\\[\\w+/(\\w+)\\]", s); }
Began life as a copy of #1027099
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027164 |
Snippet name: | winograd_takeSecondOption |
Eternal ID of this version: | #1027164/2 |
Text MD5: | c26a4bb0643fb0ac736b1b9b4c409883 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-23 12:04:38 |
Source code size: | 227 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 184 / 225 |
Version history: | 1 change(s) |
Referenced in: | [show references] |