Scripts Index
Related Topics
Popular Trends
Trending Topics
Python Libraries and Modules  

Regular expression for python string literals

download download home home   report broken
important script information
company name:
code.activestate.com
license: Free
minimum requirements: Python
functional limitations:
Regular expression for python string literals description


For quick-and-dirty processing of Python source files, it can be convenient to have a regular expression that matches Python string literals. This script provides such a regular expression. The example use case above shows how it could be used to rename a variable in a P shows hoe.



Relates:
Regular - Expression - String Manipulation - Regular Expression - Python String
Similar scripts
IPv4 address set type (Popularity: ) : IPv4 address set type script initializes an ip4range class.The constructor accepts an unlimited number of arguments that may either be tuples in the form (start,stop), integers, longs or strings, where start and stop in a tuple may also be of ...
Gather detailed system information on Mac OS X (Popularity: ) : This script uses the system_profiler application to retrieve detailed information about a Mac OS X system.There are two useful ways to use it: the first is to ask for a complete Python datastructure containing information about the system (see OSXSystemProfiler.all()) and ...
msoffice2ps Python Module (Popularity: ) : This Python module can be used for conversion of Microsoft Office documents to Postscript via an installed postscript printer driver. This module uses Microsoft Office and the installed postscript printer driver for the export. You can use this module to ...
Gather detailed system information on Ma (Popularity: ) : This script uses the system_profiler application to retrieve detailed information about a Mac OS X system.There are two useful ways to use it: the first is to ask for a complete Python datastructure containing information about the system (see OSXSystemProfiler.all()) ...
PyHtmlTable (Popularity: ) : Allows on-the-fly creation of HTML tables in Python. Similar to Table.pm or Table.php.
Numeric base converter (Popularity: ) : This is a traditional base converter with the twist that it accepts any strings as the digits for the input and output bases. Besides all the normal base-converts, you can now create compact versions of huge numbers by converting them ...
Memento design pattern in python (Popularity: ) : Memento design pattern in python script allows you to cache instances based on what arguments are passed to them.
cgi_buffer (Popularity: ) : A group of libraries that can be used to improve performance in your CGI scripts.
Generator for sequence operations (Popularity: ) : Permutations and combinations are often required in algorithms that do a complete search of the solution space. They are typically rather large so it's best not to compute them entirely but better to lazily generate them.This script uses Python generators ...
Null Object Design Pattern (Popularity: ) : This script is a sample implementation of the 'Null Object' design pattern. Roughly, the goal with Null objects is to provide an 'intelligent' replacement for the often used primitive data type None in Python or Null (or Null pointers) in ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar Software
Regular Expression Find (Popularity: ) : Regular Expression Find is a small Excel add-in that will help you find and replace data in your Excel sheets using regular expression. Using Regular Expression Find you can do flexible searches by regular expressions in your Excel spreadsheets. Excel ...
Regex Tester (Popularity: ) : Regex Tester is a tool to help you testing, evaluating and validating your regular expressions. You can check whether your regular expression is valid; run it again some text input, a local file or a web resource and display the ...
Find & Replace It! For Linux (Popularity: ) : Find & Replace It! is a powerful, cross-platform text file processor. It allows you to perform very complex batch replacements inside text files of any size. It supports regular expression syntax and dozens of encodings. It can batch processing the ...
Find & Replace It! For Mac (Popularity: ) : Find & Replace It! is a powerful, cross-platform text file processor. It allows you to perform very complex batch replacements inside text files of any size. It supports regular expression syntax and dozens of encodings. It can batch processing the ...
Find & Replace It! For Windows (Popularity: ) : Find & Replace It! is a powerful, cross-platform text file processor. It allows you to perform very complex batch replacements inside text files of any size. It supports regular expression syntax and dozens of encodings. It can batch processing the ...
Find and Replace It For Windows (Popularity: ) : Find & Replace It! is a powerful search and replace utility. It allows performing very complex batch-replacement inside text files of any size. It supports regular expression syntax and dozens of encodings. It has scripting capabilities which allow transforming on ...
RegexBuddy (Popularity: ) : Perfect companion for working with regular expressions. Easily create regular expressions that match exactly what you want. Clearly understand complex regexes written by others. Quickly test any regex on sample strings and files, preventing mistakes on live data. Use the ...
V-Grep (Popularity: ) : V-Grep is an easy to use while feature-rich application that brings - well known in the Unix world - regular expressions power to the typical Windows users. Even in DOS you could use masks, to speed-up searching for files. These ...
Find and Replace It! (Popularity: ) : Find and Replace It! is a powerful text file processor that allows you to perform very complex replacements inside text files. It supports the most common text encodings and handles files of any size.Here are some key features of "Find ...
RegExpCheck (Popularity: ) : RegExpCheck is a free tool for testing the Perl-compatible regular expressions. The program takes on input a regular expression and a text string. If a string matches the specified pattern, all found matches are displayed in Results box.
ad


Rate me
supported os
Windows, Linux, Mac OS, BSD, Solaris
stats
downloads 3
version 1.0
size in Kb
popularity   
562/377158
user rating 0/10
New Scripts
Popular Scripts
Latest Reviews