title: Matching "camelCase" to a regular expression in java
body: <pre><code>String camelCasePattern = "([a-z][A-Z0-9]+)+";
  
  boolean val = "camelCase".matches(camelCasePattern);
  System.out.println(val);
  </code></pre>
  
  <p>The above prints false. I'm trying to match a camelCase pattern starting with lower case letter. I have tried to tweak it a bit, without no luck though. Is the pattern wrong for camelCase?</p>