sportdb-models/lib/sportdb/utils_round.rb
def find_round_header_title2!( line )
    ## todo/fix:
    ##  cleanup method
    ##   use  buf.index( '//' ) to split string (see found_round_def)
    ##     why? simpler why not?
    ##  - do we currently allow groups if title2 present? add example if it works?


    # assume everything after // is title2 - strip off leading n trailing whitespaces
    regex = /\/{2,}\s*(.+)\s*$/
    if line =~ regex
      logger.debug "   title2: >#{$1}<"
      
      line.sub!( regex, '[ROUND.TITLE2]' )
      return $1
    else
      return nil    # no round title2 found (title2 is optional)
    end
  end
def find_round_header_title2!( line )
    ## todo/fix:
    ##  cleanup method
    ##   use  buf.index( '//' ) to split string (see found_round_def)
    ##     why? simpler why not?
    ##  - do we currently allow groups if title2 present? add example if it works?


    # assume everything after // is title2 - strip off leading n trailing whitespaces
    regex = /\/{2,}\s*(.+)\s*$/
    if line =~ regex
      logger.debug "   title2: >#{$1}<"
      
      line.sub!( regex, '[ROUND.TITLE2]' )
      return $1
    else
      return nil    # no round title2 found (title2 is optional)
    end
  end
fix/todo: check that [ROUND.TITLE2] and friends do NOT use pipes (|)
  change all pipes (|) to dot (.)
 - pipes get used for def markers!!!