Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1024122 // test_ellipsisToDotPlusRegexpIC_matchAny

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2319L/15K).

set flag ellipsisToDotPlusRegexpIC_matchAny_debug.

svoid test_ellipsisToDotPlusRegexpIC_matchAny() {
  new Matches m;
  assertTrueVerbose(ellipsisToDotPlusRegexpIC_matchAny(ll("a ... b"), "a c b", m));
  assertEqualsVerbose(m, Matches("c"));
  assertFalseVerbose(ellipsisToDotPlusRegexpIC_matchAny(ll("a ... x"), "a c b", m));
}

Author comment

Began life as a copy of #1024120

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024122
Snippet name: test_ellipsisToDotPlusRegexpIC_matchAny
Eternal ID of this version: #1024122/5
Text MD5: d59443dbb67b113a2bbe208ec2409d65
Transpilation MD5: 25827e7cfeeb271faf806a10a1aafae7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-21 15:51:18
Source code size: 336 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 193 / 302
Version history: 4 change(s)
Referenced in: [show references]