simplified the delimiter extraction regex used in scala-client