|The Regex sees a line like
aaa bbb ccc . ddd . eee fff
What part of
aaa bbb ccc is the database name? Only
bbb ccc, etc.? You see the problem?
The same for
Non-escaped/non-wrapped spaces in names is guess work to make them wrapped into
I.e. to get from
aaa bbb ccc .... to
aaa [bbb ccc] .... is rather difficult, unless you know what
aaa means or you say from outside that
bbb ccc is a single name.
Quite a challenge.