CharacterArray.st
changeset 14054 48d3fab77bd9
parent 14053 acbb97913c30
child 14122 36f1fe4ddd0f
equal deleted inserted replaced
14053:acbb97913c30 14054:48d3fab77bd9
  4253 	     NOT the ST-80 meaning.
  4253 	     NOT the ST-80 meaning.
  4254      NOTICE: this is GLOB, which is different from regex matching (see matchesRegex:)
  4254      NOTICE: this is GLOB, which is different from regex matching (see matchesRegex:)
  4255      NOTICE: the receiver is the match pattern"
  4255      NOTICE: the receiver is the match pattern"
  4256 
  4256 
  4257     ^ aPatternString match:self
  4257     ^ aPatternString match:self
       
  4258 !
       
  4259 
       
  4260 matches:aPatternString ignoreCase:ignoreCase
       
  4261     "return true if the receiver matches aString, where aPatternString may contain GLOB meta-match
       
  4262      characters $* (to match any string) or $# (to match any character).
       
  4263      or [...] to match a set of characters.
       
  4264      Lower/uppercase are considered different.
       
  4265 
       
  4266      NOTICE: match-meta character interpretation is like in unix-matching (glob),
       
  4267              NOT the ST-80 meaning.
       
  4268      NOTICE: this is GLOB, which is different from regex matching (see matchesRegex:)
       
  4269      NOTICE: the receiver is the match pattern"
       
  4270 
       
  4271     ^ aPatternString match:self ignoreCase:ignoreCase
       
  4272 
       
  4273     "Created: / 08-03-2012 / 03:11:11 / cg"
  4258 ! !
  4274 ! !
  4259 
  4275 
  4260 
  4276 
  4261 !CharacterArray methodsFor:'padded copying'!
  4277 !CharacterArray methodsFor:'padded copying'!
  4262 
  4278 
  6048 ! !
  6064 ! !
  6049 
  6065 
  6050 !CharacterArray class methodsFor:'documentation'!
  6066 !CharacterArray class methodsFor:'documentation'!
  6051 
  6067 
  6052 version
  6068 version
  6053     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.469 2012-03-07 15:31:40 cg Exp $'
  6069     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.470 2012-03-08 03:09:27 cg Exp $'
  6054 !
  6070 !
  6055 
  6071 
  6056 version_CVS
  6072 version_CVS
  6057     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.469 2012-03-07 15:31:40 cg Exp $'
  6073     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.470 2012-03-08 03:09:27 cg Exp $'
  6058 ! !
  6074 ! !
  6059 
  6075 
  6060 CharacterArray initialize!
  6076 CharacterArray initialize!