Search:

Type: Posts; User: ice

Search: Search took 0.16 seconds.

  1. Replies
    8
    Views
    2,265

    Re: How to define a string pattern using variables?

    ok, the english rule for a raod descriorion is:
    <roadName> <cityA> <AB distance> <cityB> [<BC distance> <cityC> […]]

    But how to write just one pattern in java that can represent above?

    Thanks...
  2. Replies
    8
    Views
    2,265

    Re: How to define a string pattern using variables?

    Thanks KevinWorkman, I didn't express my question well, I mean how to write a general pattern for a given string with string variables. For example:
    Here are some strings, each string represent one...
  3. Replies
    8
    Views
    2,265

    How to define a string pattern using variables?

    Hi guys

    Firstly Happy new year to you soon,:) can someone please tell me this:

    I understand how to write a pattern with single character of regular-expression (eg. [a-zA-Z]), but how to define...
Results 1 to 3 of 3