r = """
        \\b                   
        (                    
            [^\\s]{3}         
            \\b               
            (?=[^\\.,;:]|$)   
        |                    
            [^\\s]{2}         
            [\\.,;:]          
        )
    """
Python Regex doesn't match . (dot) as a character