#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    1
    Rep Power
    0

    Web Crawler Code with regex Help needed


    Hi everybody

    I have a V Bulletin crawler code in which some regex are used as following:

    1) pattern = Pattern.compile("\\sclass=\"title\" href=\"", Pattern.MULTILINE);

    2) page = temp.substring(0, temp.indexOf("&"));

    3) pattern = Pattern.compile(".+rel=\"next\" href=\"");

    4) pattern = Pattern.compile(".+<div class=\"username_container\">.*", Pattern.MULTILINE);

    5) pattern = Pattern.compile(".*<blockquote class=\"postcontent restore \">", Pattern.MULTILINE);

    6) pattern = Pattern.compile(".+rel=\"next\" href=\"");

    please help me with details to understand regex as function arguments...

    thanx
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2012
    Location
    spaceBAR Central
    Posts
    229
    Rep Power
    42

IMN logo majestic logo threadwatch logo seochat tools logo