[Moin-devel] CVS: MoinMoin wikiutil.py,1.85,1.86

J?rgen Hermann jhermann at users.sourceforge.net
Wed Mar 13 16:01:04 EST 2002


Update of /cvsroot/moin/MoinMoin
In directory usw-pr-cvs1:/tmp/cvs-serv30559

Modified Files:
	wikiutil.py 
Log Message:
isStrictWikiname()


Index: wikiutil.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/wikiutil.py,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -r1.85 -r1.86
*** wikiutil.py	12 Mar 2002 22:27:35 -0000	1.85
--- wikiutil.py	14 Mar 2002 00:00:28 -0000	1.86
***************
*** 340,343 ****
--- 340,348 ----
  
  
+ def isStrictWikiname(name, word_re=re.compile(r"^(?:[%(u)s][%(l)s]+){2,}$" % {'u':config.upperletters, 'l':config.lowerletters})):
+     """Check whether this is NOT an extended name"""
+     return word_re.match(name)
+ 
+ 
  def isPicture(url):
      """Check for picture URLs"""





More information about the Moin-devel mailing list