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

15
LINES

< > BotCompany Repo | #1000624 // Test unquote

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (4331L/30K/80K).

1  
!7
2  
3  
!include #1005609 // unquote_prev
4  
5  
p {
6  
  for (S s : ll(
7  
    "\"try regexp [[<dd class=\\\"visitorsToday\\\">(\\\\d+)<br \\/><\\/dd>]]\"",
8  
    "\"bla")) {
9  
    print(s);
10  
    assertEqualsVerbose(unquote_prev(s), unquote(s));
11  
    assertEqualsVerbose(unquote_prev(s), unquoteUsingCharArray(s, new char[1000]));
12  
    assertEqualsVerbose(unquote_prev(s), unquoteUsingCharArray(s, new char[2]));
13  
  }
14  
  print("OK");
15  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

Comments [hide]

ID Author/Program Comment Date
544 #1000610 (pitcher) 2015-08-18 19:20:28
543 #1000604 (pitcher) 2015-08-18 19:20:28

add comment

Snippet ID: #1000624
Snippet name: Test unquote
Eternal ID of this version: #1000624/3
Text MD5: 69c7bcfe754c465f6f383c0a25b79757
Transpilation MD5: 59ace76d24a795d6b1e75a15ddee4819
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-11 02:34:02
Source code size: 425 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 899 / 926
Version history: 2 change(s)
Referenced in: [show references]