public function replaceAll( $regex, $replacement, $limit = - 1, & $count = 0 ) {
		return new GString( preg_replace( $regex, $replacement, $this->value, $limit, $count ) );
	}
public function replaceAll( $regex, $replacement, $limit = - 1, & $count = 0 ) {
		return new GString( preg_replace( $regex, $replacement, $this->value, $limit, $count ) );
	}
public function replaceAll ( $ regex , $ replacement , $ limit = - 1 , & $ count = 0 ) { return new GString ( preg_replace ( $ regex , $ replacement , $ this -> value , $ limit , $ count ) ) ; }
Replaces each substring of this string that matches the given regular
expression with the given replacement.

@access public

@param string $regex The regular expression to which this string is to be matched
@param string $replacement The string to be substituted for each match
@param int $limit The limit threshold
@param int $count This will be set to the number of replacements performed

@return \String the resulting string.
Replaces each substring of this string that matches the given regular expression with the given replacement .