Skip to main content

Timeline for Create array of regex matches

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Feb 25, 2017 at 21:04 comment added dimo414 @ElMac Pattern.matches() is a static method, you shouldn't call it on a Pattern instance. Pattern.matches(regex, input) is simply a shorthand for Pattern.compile(regex).matcher(input).matches().
S Feb 14, 2017 at 13:12 history suggested walkeros CC BY-SA 3.0
synatax errors fixed
Feb 14, 2017 at 12:29 review Suggested edits
S Feb 14, 2017 at 13:12
Mar 4, 2016 at 9:36 comment added El Mac pattern.matches(input) does not work. You have to pass your regex pattern (again!) --> WTF Java?! pattern.matches(String regex, String input); Do you mean pattern.matcher(input)?
May 17, 2011 at 12:03 history edited Bozho CC BY-SA 3.0
added 10 characters in body
May 16, 2011 at 16:36 history edited Bozho CC BY-SA 3.0
added 49 characters in body
May 16, 2011 at 16:30 history answered Bozho CC BY-SA 3.0