$1 really matches only one star. If you want to capture all three stars in $1, you must use ^([*]{3}) (note that the {} quantifier has moved into the capturing parentheses).
In reply to Re: regex to substitute 3 stars at beginnning of string with none?
by Corion
in thread regex to substitute 3 stars at beginnning of string with none?
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |