change getLeft check order. To be first for Prefix check.
remove getPrefix() to use findI()
remove unused regex pattern. triming section marker '#'
implement function parameters