Adding an optional '.' to the regex so that FIG and Fig followed by a do...

...t are recognized as captions