Android string regular expression not working

view story

http://stackoverflow.com – Good evening! I have incoming string paramert, something like that "522|625|925|...6234|" I create regular string such look. "([0-9]\|)*" introduce pattern to app and... public static String decrypt( String message, int incr ) { String result = ""; Pattern pattern = Pattern.compile("([0-9]\\|)*"); Matcher matcher = pattern.matcher(message); boolean look = matcher.lookingAt(); if (look) { Log.d("MyActivity","exist: " + message); i can see row "exist: niiice" at the log cat. What I'm made wrong? (HowTos)