All Questions
3 questions
3
votes
1
answer
184
views
PHP class which preserves line break by splitting the line into as many line break as it have
Can anyone here please review my PHP code which preserves line break by splitting the line into as many line break as it have?
...
2
votes
1
answer
936
views
Regular Expression for parsing PHP annotations containing multiple lines and markup
I am writing a regular expression for parsing PHP annotations in a flexible way.
I'd like to accomplish all the goals listed above with one single expression. So I would appreciate any suggestions ...
7
votes
2
answers
1k
views
N-gram generation
I have the following code, but it's too slow. How can I make it faster?
...