看板 java 關於我們 聯絡資訊
我碰到一個極度棘手的問題 底下是我的資料 (在日期 tag之後) 整篇是一個String, 我的問題是,我用 比方說 ".+" 做 matches()的比對 竟然回傳 false T_____T 搞了半天 regex怎麼查就是任意字元,後來想到要查API已經一小時過去了, Any character (may or may not match line terminators) (翻桌!) 提醒有在用的人 偶爾還是要注意一下換行字元(淚) 要換行的話要改成 MULTILINE http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html#MULTILINE -- 站內 unknown site:wretch ===Wed Apr 18 21:21:12 CST 2007== 【看板列表】 郵差來按鈴了! 看板《尚未選定》 [←]離開 [→]閱讀 [c]篇數 [S]排序 [v]已讀 [/]搜尋 [a]加入最愛 [h]說明 總數 看 板 中 文 敘 述 賭投人 板 主 1526‧ Story 文學 Story全國故事連線板 69 flyviolet/zyp 2434‧ FTP 電腦 FTP技術交流 59 wubm 8867‧ nctu.teacher NCTU 交大選課指南 48 walkers/goldm 3010‧ HsinChu.sale 地方 新竹‧二手買賣‧請詳閱板規 36 blockhead 4166‧ SD_fay88 濯夢 【夏霏】一百個幸福接力 35 fay88/Kooroan 5432‧ Joke 休閒 joke 34 player/justin -- I am a person, and I am always thinking . Thinking in love , Thinking in life , Thinking in why , Thinking in worth. I can't believe any of what , I am just thinking then thinking , but worst of all , most of mine is thinking not actioning... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.134.27.68 ※ 編輯: TonyQ 來自: 220.134.27.68 (04/18 21:52)