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

18
LINES

< > BotCompany Repo | #644 // P0rn finder :)

JavaX source code - run with: x30.jar

!636
!standard functions // loadPage etc.

main {
  psvm {
    List<String> matches = matchAll("x1.fap.to/images/thumb/([0-9/]+)\\.jpg", loadPage("imagefap.com"));
    for (String match : matches)
      System.out.println(match);
  }
  
  static List<String> matchAll(String pattern, String text) {
    List<String> matches = new ArrayList<String>();
    Matcher matcher = Pattern.compile(pattern).matcher(text);
    while (matcher.find())
      matches.add(matcher.group());
    return matches;
  }
}

download  show line numbers  debug dex  old transpilations   

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

Comments [hide]

ID Author/Program Comment Date
590 #1000610 (pitcher) 2015-08-18 00:07:07
589 #1000604 (pitcher) 2015-08-18 00:07:22

add comment

Snippet ID: #644
Snippet name: P0rn finder :)
Eternal ID of this version: #644/1
Text MD5: 26cff92343495cc1572315f1fd11b128
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-02 14:51:59
Source code size: 518 bytes / 18 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 1144 / 866
Referenced in: [show references]