firebug lite for chrome
/releases/lite/chrome/
代码着色
/p/google-code-prettify/not support textarea
/index.phpthis is support textarea
/editarea/editarea/exemples/exemple_full.htmlanothoer support textarea edit source ,it's gread to build a web ide solution
/这个看着不错,这个看着比较适,简洁
一个汇总
/wiki/Comparison_of_JavaScript-based_source_code_editors
http://www.mdk-/editor/一个切换编辑大小的特性不错
一个web ide努力的方向
An online IDE for the Orc programming language
bespin的用户体验还是不错的,不过还不如其它的实用,做web ide可以参考
这个网站相当之牛bi/
/RegExr/一个在线正则
/
/python的在线正则值得学习
Pyreb homepage
About the software
Pyrebis awxPythonGUI to there python module; it will speed up the development ofPythonregular expression (similar to PCRE).
The GUI is simple and features 3 parts: A text box where the text to be analyzed is displayedA text box where the regular expression to be applied is displayedA tree control where the results are displayed
cool
A Collection of Regular Expressions Cheat Sheets & Quick Reference Guides
/webdesignblogs/graphics/a-collection-of-regular-expressions-cheat-sheets-quick-reference-guides/
PYTHON REGULAR EXPRESSION CHEAT SHEET
Published in:Python
Expand|Embed|Plain Text
import redef regexp():s = '<html><head><title>Title</title>' # with pre compiled patternpattern = pile('title')match = pattern.search(s) #check for existence print match # >> <_sre.SRE_Match object at 0x011E0E58> #loop through all matchesmatch = pattern.findall(s) print match # >> ['title', 'title'] #grouping matchess = '<html><head><title>Title</title>'pattern = pile('(head).*(title)')match = pattern.search(s) print match.group(0) # >>head><title>Title</title print match.group(1) # >>head #replacepattern = pile('title') print pattern.sub("ersetzt",s) # >> <html><head><ersetzt>Title</ersetzt> #splitpattern = pile('title') print pattern.split(s) # >> ['<html><head><', '>Title</', '>'] #replace alle lines in file by "eineZeile"f = open('test.txt','r')l= ['eineZeile' for l in f.readlines()]f.close() print lf=open("test.txt", "w")f.writelines(l)f.close()regexp()
Report this snippet
c THE dot.deProjectsAbout MeWeblogRetest /Re-Try What Is ItLicenseDownloadUsageHistory
Retest (And Re-Try), Test Python Regular Expressions In A Webbrowser
What Is It
A simple Server which enables tests of Python regular expressions (re
module) in a webbrowser. Uses SimpleHTTPServer andAJAX.
RE-TRY ONLINE APPLICATION
retest is now also available asre-tryonline application onGAE.
RETEST LOCAL BROWSER APPLICATION
retest is available to be run locally as a browser application.
retest screenshot:
You only need:Python, a modern webbrowser like Firefox, IE (from 5.5), Safari or Opera (from 8) which handlesXMLHttpRequest
.
License
This work is licensed under aCreative Commons License.
Download
retest-0.6.1- 061224Tested with Python 2.5, Firefox 1.06/2.0.0.1, Internet Explorer 6/7 and Opera 8.02/8.50 on Windows XP only. Seems to work best with Firefox and Opera, anyfeedback(success or failure ;) is welcome.
Paul Bissexreportedretest working on OS X 10.4.3 (Python 2.4.1) in Safari, Camino, Opera, and Firefox. Bryon Gill reports retest working fine on Fedora Core 4, Python 2.4.1, Mozilla 1.7.10. James Thiele reports retest v0.5.1 works on OS X 10.3.9 Python 2.3. Erik Knowles reports retest working on Mandriva 10.1.
Usage
Start the server with>python reserver.py
and openhttp://localhost:8087/
in your webbrowser (if the browser is not started automatically. You might want to adjust thePORT
used in reserver.py.
The usage of the application itself should be self explanatory, take a look in thePython documentation for there
module.
Full keyboard usage is enabled. You may have to adjust the shortcuts to your browser or OS environment (e.g. on WindowsALT-T
[in FirefoxSHIFT-ALT-T
] puts the focus in the "Text" field.). See the titles on the specific items for the keyboard shortcuts which are normally the underlined characters or, in the case of the size adjustment buttons, the characters1-6
.
Sometimes when you need to work on regular expression, you may need to look for a sandbox to do your testing. Here are two that I found quite helpful. Enjoy~~~
/
/
posted on -09-22 21:20lexus 阅读(...) 评论(...) 编辑 收藏