DelimScanner.rb

Path: DelimScanner.rb
Last Update: Thu Aug 26 20:24:56 CEST 2004

A derivative of StringScanner that can scan for delimited constructs in addition to regular expressions. It is a loose port of the Text::Balanced module for Perl by Damian Conway <damian@cs.monash.edu.au>.

Synopsis

  se = DelimScanner::new( myString )

Authors

  • Michael Granger <ged@FaerieMUD.org>

Copyright © 2002, 2003 The FaerieMUD Consortium. Most rights reserved.

This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit creativecommons.org/licenses/by/1.0 or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

Version

 $Id: DelimScanner.rb?dl=1,v 1.1 2004/06/27 07:32:48 aredridel Exp $

Required files

strscan   forwardable  

Classes and Modules

Class DelimScanner
  ::Module DelimScanner::Default
  ::Class DelimScanner::DelimiterError
  ::Class DelimScanner::MatchFailure
Class String

[Validate]