Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 5144941147717632: Issue 2112 - Support fixed text in strings. (Closed)

Created:
March 26, 2015, 4:54 p.m. by kzar
Modified:
March 27, 2015, 3:52 p.m.
Visibility:
Public.

Description

Issue 2112 - Support fixed text in strings.

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressed feedback. #

Total comments: 2

Patch Set 3 : Avoid escaping search string for fixed strings. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -9 lines) Patch
M cms/converters.py View 1 2 4 chunks +35 lines, -9 lines 0 comments Download

Messages

Total messages: 7
kzar
March 26, 2015, 4:54 p.m. (2015-03-26 16:54:58 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/5144941147717632/diff/5629499534213120/cms/converters.py File cms/converters.py (right): http://codereview.adblockplus.org/5144941147717632/diff/5629499534213120/cms/converters.py#newcode64 cms/converters.py:64: return "".join(self._string), self._attrs, map(lambda s: "".join(s), self._fixed_strings) Nit: ["".join(s) ...
March 26, 2015, 8:48 p.m. (2015-03-26 20:48:56 UTC) #2
kzar
Patch Set 2 : Addressed feedback. http://codereview.adblockplus.org/5144941147717632/diff/5629499534213120/cms/converters.py File cms/converters.py (right): http://codereview.adblockplus.org/5144941147717632/diff/5629499534213120/cms/converters.py#newcode64 cms/converters.py:64: return "".join(self._string), self._attrs, ...
March 26, 2015, 10:11 p.m. (2015-03-26 22:11:32 UTC) #3
Wladimir Palant
http://codereview.adblockplus.org/5144941147717632/diff/5629499534213120/cms/converters.py File cms/converters.py (right): http://codereview.adblockplus.org/5144941147717632/diff/5629499534213120/cms/converters.py#newcode140 cms/converters.py:140: result = re.sub(re_escape("{%d}" % (i + 1)), fixed_strings[i], result, ...
March 27, 2015, 7:29 a.m. (2015-03-27 07:29:48 UTC) #4
kzar
http://codereview.adblockplus.org/5144941147717632/diff/5724160613416960/cms/converters.py File cms/converters.py (right): http://codereview.adblockplus.org/5144941147717632/diff/5724160613416960/cms/converters.py#newcode142 cms/converters.py:142: result = re.sub(re_escape("{%d}" % (i + 1)), fixed_strings[i], result, ...
March 27, 2015, 9:50 a.m. (2015-03-27 09:50:44 UTC) #5
Wladimir Palant
LGTM
March 27, 2015, 2:50 p.m. (2015-03-27 14:50:01 UTC) #6
Sebastian Noack
March 27, 2015, 2:51 p.m. (2015-03-27 14:51:23 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld