How to do make this regular expression work? (Consecutive delimiter problem)
I am using the following code:
 
<pre><code>
"aba;b12".split("[4\,;\Qab\E]+");
String array[] = "aba;b12".split(temp.toString());
for(String test : array)
    System.out.println(test);
</code>
</pre>

I expect:
<pre>
a
b
12
</pre>

However I get:
<pre>
&lt;blank line>
12
</pre>
How to do make this regular expression work? (Consecutive delimiter problem)
===

I am using the following code:
 
<pre><code>
"aba;b12".split("[4\,;\Qab\E]+");
String array[] = "aba;b12".split(temp.toString());
for(String test : array)
    System.out.println(test);
</code>
</pre>

I expect:
<pre>
a
b
12
</pre>

However I get:
<pre>
&lt;blank line>
12
</pre>