#Transifex now supports comments in Apple .strings i18n files

#Transifex now supports comments in Apple .strings i18n files. Only /* foo */ style comment in the line preceding the key value pair in the source file is saved as a comment for the key. The example below will explain this in a better way: [sourcecode] /Comment for key1/ “key1” = “value 1”; /* This comment will not be included in key2*/ /* comment for key2*/ “key2” = “value 2”;...

January 13, 2012 · Ratnadeep Debnath

Regex pattern for c style comments

Today, I am going to discuss my attempts to parse c style comments. For example, //This is a comment<br></br> ** /***This is also<br></br> *** a comment ***/ ** Initially, I came up with a regex for /…/ style comments : <strong>/*.**/</strong> Well, the above expression was not able to parse comments like: <br></br> /*** This is a comment ***/<br></br>``` I googled and came across [http://ostermiller.org/findcomment.html](http://ostermiller.org/findcomment.html) where I found the regex: `<strong>/*(....

October 27, 2011 · Ratnadeep Debnath