Wiki

Ticket #15 (closed enhancement: fixed)

Opened 17 years ago

Last modified 17 years ago

Support escaping [ for interpolation in Strings

Reported by: hopscc Owned by: Chuck
Priority: major Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

Support escaping of meaning of [] in strings to delineate substitution
instead allowing insertion of literal '[ ', '] '

Bug report placeholder for discussion and patches at
 Escaping Substitution in Strings

Change History

Changed 17 years ago by hopscc

Changed 17 years ago by Chuck

  • priority changed from medium to major
  • status changed from new to accepted
  • type changed from defect to enhancement

I'm part way through this. I've decoupled the Tokenizer from regular expressions. All the Tokenizer now requires are subclasses of TokenDef. One of those is TokenRegexDef, but I'm part way done with different subclasses for handling this ticket.

I've included the .generateTokenDef method breakout from the patch provided by hopscc.

Changed 17 years ago by Chuck

  • status changed from accepted to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.