随笔分类 -  Regular Expression Matching or Valid number

Regular Expression Matching
摘要:‘.’ Matches any single character.‘*’ Matches zero or more of the preceding element.The matching should cover theentireinput string (not partial).The f... 阅读全文

posted @ 2014-10-04 03:23 brave_bo 阅读(188) 评论(0) 推荐(0)

valid bank money number
摘要:一直对这种题比较没把握. 没有思路.i1,000,000.2234,333.999define valid(String s,boolean last,boolean first)1.先s.trim();if string==null or string.length==0 return false... 阅读全文

posted @ 2014-10-03 07:34 brave_bo 阅读(202) 评论(0) 推荐(0)

导航