allow to set line buffer size + select properties based on regular expression

The FORK.md can be ignored but explains my changes