The main issue are whitespaces, we use the `Pattern.COMMENTS` flag to make regexes more readable, which means that you have to explicit with whitespaces and use `\s` as the ' ' are ignored.
I got the following regex to work, changed the indendation too:
```
               /^   total   \s \n
                   (\s+0b   \s \n)*
                    8\.4kb  \s \n
                   (\s+0b   \s \n)*  $/
```