Search:

Type: Posts; User: _rain

Search: Search took 0.11 seconds.

  1. Re: \d+ does not work with split giving same result as just \d

    thaks.
  2. Re: \d+ does not work with split giving same result as just \d

    Thanks. But why doesn't \d+ work?

    Edit:

    Why
    ...
  3. \d+ does not work with split giving same result as just \d

    Hello.

    \d+ does not work with split giving same result as just \d



    System.out.println(Arrays.toString("1+2+13".split("((?=(\\d+))|(?=\\+))")));


    gives me [, 1, +, 2, +, 1, 3]
Results 1 to 3 of 3