rev 235 - trunk/pr

SVN User <[email protected]>
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: bcollins
Date: 2004-03-31 12:50:58 -0500 (Wed, 31 Mar 2004)
New Revision: 235

Modified:
   trunk/pr/re_test.pr
Log:
Add explicit List import. Also update expected output to match reality.


Modified: trunk/pr/re_test.pr
===================================================================
--- trunk/pr/re_test.pr	2004-03-31 16:38:50 UTC (rev 234)
+++ trunk/pr/re_test.pr	2004-03-31 17:50:58 UTC (rev 235)
@@ -1,6 +1,6 @@
 #!/usr/local/bin/prothon
 
-import Re
+import Re, List
 
 def findall(r,s):
 	result=[]
@@ -32,8 +32,8 @@
 
 print "\n-------- above should look like ...  -------------\n"
 
-print "[mark, muck, mink]"
-print "[mark, muck, mink]"
-print "[this ,  likes to ,  around in minks]"
-print "mark (mark)"
-print " mark like ( mark like, mark, like) grp1:<mark> grp2:<like>"
\ No newline at end of file
+print "['mark', 'muck', 'mink']"
+print "['mark', 'muck', 'mink']"
+print "['this ', ' likes to ', ' around in minks']"
+print "mark ('mark')"
+print " mark like (' mark like', 'mark', 'like') grp1:<mark> grp2:<like>"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.