Switch stripLeftMargin to not use boost::regex
authorMichael Lee <mzlee@fb.com>
Thu, 11 Feb 2016 02:51:43 +0000 (18:51 -0800)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Thu, 11 Feb 2016 03:20:27 +0000 (19:20 -0800)
commitc72f7f6887de816d9f2bda14c0c460e3d2386c47
tree052382c294701ec26043a4d7116fe08615719b1c
parent4dc763b4e7188371c97bb3da3af0808e492ed7e6
Switch stripLeftMargin to not use boost::regex

Summary: Remove boost regex from `stripLeftMargin`. We can shrink some binaries by not including it in the core folly library.

Reviewed By: yfeldblum

Differential Revision: D2922415

fb-gh-sync-id: cee89164c650706f0e5c07eed3d40500831918cd
shipit-source-id: cee89164c650706f0e5c07eed3d40500831918cd
folly/String.cpp
folly/test/StringTest.cpp