Search:

Type: Posts; User: kakoli

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    223

    Re: Pattern matching via regular expression

    Thanks, it worked!
  2. Replies
    4
    Views
    223

    Re: Pattern matching via regular expression

    Sorry, a correction.
    I have to match all lines having the words 'Current configuration' only at the beginning of the line.

    Then in Pattern.matches(regExp, line), what must be the regExp?
    regExp...
  3. Replies
    4
    Views
    223

    Pattern matching via regular expression

    I have to match all lines having the words 'Current configuration' anywhere in the line(beginning/end/middle)

    Then in Pattern.matches(regExp, line), what must be the regExp?
    regExp = "^Current...
Results 1 to 3 of 3