2

I am trying to use @route to match a string of any letters, symbols, and/or special characters.

Here is what I have:

@route('/create/<mypath:re:[#!@$%^&*()\_\-.,A-Za-z0-9//:]+>')

The problem is that once the hash symbol is reached, the rest of the string is ignored.

For example: test123!!!.....he#llo! will only match: test123!!!.....he

Any ideas? Thanks!

4

1 に答える 1

-1

さて、ここに私の質問への答えがあります:http: //osdir.com/ml/python-bottle-general/2011-11/msg00012.html

于 2012-10-31T17:47:54.060 に答える