r2 - 21 Oct 2004 - 05:04:34 - PeterThoenyYou are here: TWiki >  Codev Web > EmptyStringIsValidVariable
Tags:
, create new tag

Bug: Empty string is a valid variable name

You can "Set" an empty string, and then use the value:

   * Set  = EMPTY
%%
gives:
  • Set = EMPTY
%%

The answer is trivial; there's an RE in Prefs.pm, in parseText, that has a * where it should have a +.

Or you can take my PrefsPmPerformanceFixes patch.

of course this may be desired (though undocumented) behaviour; if so, I need to change the patch.

-- CrawfordCurrie - 09 Sep 2004

The PrefsPmPerformanceFixes patch was accepted on 28 Sep 2004.

-- PeterThoeny - 21 Oct 2004

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo