精華區beta Eclipse 關於我們 聯絡資訊
Regular Expression 使用上是相當廣泛的, 不過對於初學的人可能需要一個能立即得到回饋的結果 這個 plugin 能夠幫助您取得這樣的結果 http://www.brosinski.com/regex/ http://www.brosinski.com/regex/regexpro.gif
<% Features * Test and search for regular expression * Matches are colorized, for an easy visual clue * Support for pattern flags (e.g. Pattern.DOTALL) * LiveEval evaluates your regular expression while you are typing it, gives feedback on possible errors and shows any matches automatically * LiveEval is supported for changes of the regular expression, the search text and the pattern flags * 4 distinct match modes: o Find a sequence of characters o Match a complete text o Split text o Replace every occurence of the regex with a different string Replacing supports back references ($1,$2,...) * LiveEval for match mode changes * Context sensitive "Regular Expression Assist" * Selective evaluation of expressions * Bracket Matching * Generation of string literals based on the regexp, e.g. "\(x\)" becomes "\\(x\\)" * De-escape patterns in your code, e.g. \\(x\\) becomes \(x\) * Improved "Clear Menu", choose which parts of the view you would like to get cleared every time you press the clear button * Easy movement through matches: Choose "Previous Match" or "Next Match" and cycle through all matches found. * Polished and accessible user interface, everything is reachable via keyboard %> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.245.112.176
freesamael:這個還滿有趣的@@ 03/10 19:27
yew:推 03/28 12:06