http://docs.python.org/lib/re-syntax.html
On Sep 20, 5:16 pm, "Mario Heiderich" <mario.heider...@googlemail.com>
wrote:
> As a matter off fact I had a small chat about that with Gareth who brought
> it up. We want to try some experiments on attack pattern comparison with the
> usage of levenshtein distance and the soundex methods. Let's see what we can
> learn and use for the PHPIDS from that stuff.
>
> I will keep you guys informed about that...
>
> 2007/9/20, Andrei Savu <savu.and...@gmail.com>:
>
>
>
>
>
> > Thanks.
>
> > I think learning regular expressions is allot like learning another
> > programming
> > language, it needs allot of practice. I admire your work. You create some
> > amazing
> > regular expressions.
>
> > I think this field of regular expressions will evolve allot in the future.
> > A system that will capable of
> > generating regular expressions for given sets will be really amazing. I
> > think this will be the
> > first form of real AI, a strong automatic classification engine. But I
> > don't think we will see this kind
> > of technology very soon, or maybe we will have a surprise. It's hard to
> > know what Google is cooking.
>
> > There is a video onhttp://www.ted.comthat presents a new way o seeing
> > human intelligence.
> > In that video the brain is seen as a machine that stores patterns and
> > reacts to patterns with other
> > known patterns. This idea is at least interesting.
>
> > This talk about AI is very long, I will stop here.
>
> > Thanks again for the fast response. If anyone else could tell how they
> > learned to use regular
> > expressions it will be great.
>
> > On 9/20/07, Mario Heiderich <mario.heider...@googlemail.com> wrote:
>
> > > Sorry, wrong book-link - correct one:
> > >http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp...
>
> > > 2007/9/20, Mario Heiderich <mario.heider...@googlemail.com>:
>
> > > > Hey Andrei
>
> > > > I can recommend the following page for advanced and well written info:
> > > >http://www.regular-expressions.info/
>
> > > > Also you don't wanna misshttp://rexv.org/
>
> > > > A very good book is this one:
> > > >http://www.regular-expressions.info/
>
> > > > Hope that helped!
> > > > Cheers,
> > > > .mario
>
> > > > 2007/9/20, Andrei Savu <savu.and...@gmail.com>:
It's definitely an interesting topic to dive in, but I don't think
that you will achieve anything good (enough) as you did with the regex
approach. Currently it is definitely Sisyphus work to maintain the
regexes, but on the other hand data mining/natural language processing
is a very wide field to enter.
You can build a classification system with Bayes, where you need a lot
of good testing data. But you will probably end up with the same arms
race spam filters fight.
http://en.wikipedia.org/wiki/Bayesian_spam_filtering
I just stumbled upon this paper describing the complexity of finding
personal names in texts:
http://www.bsys.monash.edu.au/people/cphua/papers/The%20Personal%20Name%20Problem%20v0.8.pdf
There was an intersting talk about applied machine learning on 22c3.
They showed how to separate source code in different languages or from
different authors with SVMs. It of course all ends up with brain pong
:)
http://events.ccc.de/congress/2005/fahrplan/events/544.en.html
--
Timo Derstappen