On Tue, Aug 10, 2010 at 10:58 AM, Vishal vsapr...@gmail.com wrote:
On Mon, Aug 9, 2010 at 5:04 PM, Vishal vsapr...@gmail.com wrote:
I am trying to create a python function that can take an plain
english description of a regular expression and return the
regular expression to the caller.
Hello fellas,
I am trying to create a python function that can take an plain english
description of a regular expression and return the regular expression to the
caller.
Currently I am thinking of the description in YAML format. So, we can store
the description as a raw string variable, which is
On Mon, Aug 9, 2010 at 5:04 PM, Vishal vsapr...@gmail.com wrote:
# a(b|c)d+e*
re1 =
- literal: 'a'
- one_of: 'b,c'
- one_or_more_of: 'd'
- zero_or_more_of: 'e'
It *could be* useful to new comers, but not very much.
This will add to the cost of covering it to regex code and will cause
On Mon, Aug 9, 2010 at 5:38 PM, Noufal Ibrahim nou...@gmail.com wrote:
[...]
Does anyone think something of this sort would be of wider use? Do you
know already existing packages that can do it? What are the
limitations that you see to this approach? Does anyone think, having
the
Here are a couple more regular expression analyzers:
http://xenon.stanford.edu/~xusch/regexp/analyzer.html
http://xenon.stanford.edu/~xusch/regexp/analyzer.htmla tool you can
download to your pc:
http://www.ultrapico.com/Expresso.htm
On Mon, Aug 9, 2010 at 9:42 PM, Vishal vsapr...@gmail.com
On Mon, 9 Aug 2010 17:04:16 +0530
Vishal vsapr...@gmail.com wrote:
Hello fellas,
I am trying to create a python function that can take an plain
english description of a regular expression and return the
regular expression to the caller.
[...]
- literal: 'a'
- one_of: 'b,c'
-
On Mon, Aug 9, 2010 at 5:04 PM, Vishal vsapr...@gmail.com wrote:
Hello fellas,
I am trying to create a python function that can take an plain english
description of a regular expression and return the regular expression to
the
caller.
Currently I am thinking of the description in YAML
Thanks everybody for the insight that you have shared with me and the group.
As of now, I am abandoning this weekend project, and have started looking
for something else :))
BTW, in the process of designing the semantics of the YAML description, I
had to read through the Python RE module docs a