Add RegexReplace Op that internally calls RE2::Replace.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 1 Mar 2018 14:03:38 +0000 (06:03 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 1 Mar 2018 14:07:59 +0000 (06:07 -0800)
commit2b7a7ee30666d160929c9aa3e941fbc94c17cc52
treeb93b13c47c0c69bb6534a6894e2253ac749174c0
parent46355f9065967dd39cd340b17d91a91f70d2c0c1
Add RegexReplace Op that internally calls RE2::Replace.

PiperOrigin-RevId: 187467840
tensorflow/core/api_def/base_api/api_def_RegexReplace.pbtxt [new file with mode: 0644]
tensorflow/core/kernels/BUILD
tensorflow/core/kernels/regex_replace_op.cc [new file with mode: 0644]
tensorflow/core/ops/string_ops.cc
tensorflow/python/kernel_tests/BUILD
tensorflow/python/kernel_tests/regex_replace_op_test.py [new file with mode: 0644]
tensorflow/python/ops/string_ops.py
tensorflow/tools/api/golden/tensorflow.pbtxt