Search:

Type: Posts; User: copeg

Search: Search took 0.08 seconds.

  1. Thread: Java Regex Help

    by copeg
    Replies
    7
    Views
    2,390

    [SOLVED] Re: Java Regex Help

    This isn't a problem with the regular expression per se, but how the file is read. If you wish to search for a regular expression across the file, you should read the file in full, and then pass the...
  2. Thread: Java Regex Help

    by copeg
    Replies
    7
    Views
    2,390

    [SOLVED] Re: Java Regex Help

    You will have to post an example then (both code and text to parse) that does not work, as it works for me...
  3. Thread: Java Regex Help

    by copeg
    Replies
    7
    Views
    2,390

    [SOLVED] Re: Java Regex Help

    By default, a dot (".") in a regular expression excludes new lines. Pass Pattern.DOTALL to the Pattern compiler to have dots represent all plus new lines


    Pattern patter = Pattern.compile(regex,...
Results 1 to 3 of 3