home.social

#stringmatching — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #stringmatching, aggregated by home.social.

  1. My tip of the of the day.

    To match a literal dot "." with a regular expression, write

    "[.]"

    instead of

    "\\." or "\\\\." or even "\\\\\\\\.",

    depending on context. 😀

    #regex #regexp #regularexpression #programming #stringmatching