|
[Date Index]
[Thread Index]
[Author Index]
error with regular expression within package
- To: mathgroup at smc.vnet.net
- Subject: [mg86530] error with regular expression within package
- From: ramiro <ramiro.barrantes at uvm.edu>
- Date: Thu, 13 Mar 2008 04:31:55 -0500 (EST)
Hi,
This must be very simple. But with package below, I get the following
error:
<< test.m
Syntax::stresc: Unknown string escape \w.
Thanks, ramiro
test.m:
BeginPackage["testing`"]
test::usage="test[t]"
Begin["`Private`"]
test[t_]:=StringCases[t,RegularExpression["\w+"]]
End[]
EndPackage[]
Prev by Date:
Numbering graphs and tables
Next by Date:
question on Cases with elements that might be strings
Previous by thread:
Re: Numbering graphs and tables
Next by thread:
Re: error with regular expression within package
|