<?php $matches = []; preg_match('/(^|.*\])([\w\.]+)(\[.*|$)/', 'accaaa+', $matches); echo var_dump($matches);
You have javascript disabled. You will not be able to edit any code.