Fixing erroneous date type detection with incorrect delimiters

The # function could incorrectly interpret digits delimited by certain characters as dates, such as "10]4". A different type detection method suggested by Arnold Kegebein resolved the issue.