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

4
LINES

< > BotCompany Repo | #1024303 // test_dollarVarsToRegexp_generic

JavaX fragment (include)

1  
svoid test_dollarVarsToRegexp_generic() {
2  
  assertEqualsVerbose(pair("\\Qthis is \\E.+\\Q and \\E.+", ll("$x", "$y")),
3  
    dollarVarsToRegexp_generic(".+", "this is $x and $y"));
4  
}

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: #1024303
Snippet name: test_dollarVarsToRegexp_generic
Eternal ID of this version: #1024303/1
Text MD5: 2f0b01def0638b3c8aa28f3baabf5702
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-30 23:00:35
Source code size: 183 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 199 / 237
Referenced in: [show references]