firebug lite for chrome

http://getfirebug.com/releases/lite/chrome/

代码着色

http://code.google.com/p/google-code-prettify/ not support textarea

 

http://codepress.sourceforge.net/index.php this is support textarea

 

http://www.cdolivet.com/editarea/editarea/exemples/exemple_full.html anothoer support textarea edit source ,it's gread to build a web ide solution

 

http://codemirror.net/ 这个看着不错,这个看着比较适,简洁

一个汇总

http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors

 

http://www.mdk-photo.com/editor/ 一个切换编辑大小的特性不错

 

一个web ide努力的方向

An online IDE for the Orc programming language

 

bespin的用户体验还是不错的,不过还不如其它的实用,做web ide可以参考

 

这个网站相当之牛bihttp://kodingen.com/

 

http://gskinner.com/RegExr/ 一个在线正则

 

http://regexlib.com/

http://www.pythonregex.com/ python的在线正则值得学习

 

 

 

 

Pyreb homepage



About the software Screenshots Requirements Links
Current version Download and Project Page Author Status


About the software 
Pyreb is a  wxPython GUI to the  re python module; it will speed up the development of  Python regular expression (similar to PCRE). 
The GUI is simple and features 3 parts:
  • A text box where the text to be analyzed is displayed
  • A text box where the regular expression to be applied is displayed
  • A tree control where the results are displayed

 

 

cool

 

A Collection of Regular Expressions Cheat Sheets & Quick Reference Guides

http://www.allwebdesignresources.com/webdesignblogs/graphics/a-collection-of-regular-expressions-cheat-sheets-quick-reference-guides/

 

 

 

PYTHON REGULAR EXPRESSION CHEAT SHEET


Published in: Python 


    
    
  1. import re
  2.  
  3. def regexp ( ):
  4. s = '<html><head><title>Title</title>'
  5.  
  6. # with pre compiled pattern
  7. pattern = re. compile ( 'title' )
  8. match = pattern. search (s )
  9.  
  10. #check for existence
  11. print match
  12. # >> <_sre.SRE_Match object at 0x011E0E58>
  13.  
  14. #loop through all matches
  15. match = pattern. findall (s )
  16. print match
  17. # >> ['title', 'title']
  18.  
  19. #grouping matches
  20. s = '<html><head><title>Title</title>'
  21. pattern = re. compile ( '(head).*(title)' )
  22. match = pattern. search (s )
  23. print match. group (0 )
  24. # >>head><title>Title</title
  25. print match. group ( 1 )
  26. # >>head
  27.  
  28. #replace
  29. pattern = re. compile ( 'title' )
  30. print pattern. sub ( "ersetzt",s )
  31. # >> <html><head><ersetzt>Title</ersetzt>
  32.  
  33. #split
  34. pattern = re. compile ( 'title' )
  35. print pattern. split (s )
  36. # >> ['<html><head><', '>Title</', '>']
  37.  
  38. #replace alle lines in file by "eineZeile"
  39. f = open ( 'test.txt', 'r' )
  40. l= [ 'eineZeile' for l in f. readlines ( ) ]
  41. f. close ( )
  42. print l
  43. f= open ( "test.txt", "w" )
  44. f. writelines (l )
  45. f. close ( )
  46.  
  47. regexp ( )

Report this snippet 

 

 

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 and AJAX .

RE-TRY ONLINE APPLICATION

retest is now also available as re-try online application on GAE.

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

Creative Commons License 
This work is licensed under a Creative Commons License .

Download

Tested 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, any feedback (success or failure ;) is welcome.

Paul Bissex reported retest 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 open http://localhost:8087/ in your webbrowser (if the browser is not started automatically. You might want to adjust the PORT used in reserver.py.

The usage of the application itself should be self explanatory, take a look in the Python documentation for the re 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 Firefox SHIFT-ALT-T ] puts the focus in the " ext" 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~~~

http://regex.powertoy.org/

http://www.rexv.org/

 

 

你可能感兴趣的:(Firebug)