Petruza

Argentina

2d
awarded Notable Question
Mar
18
awarded Famous Question
Mar
11
awarded Popular Question
Mar
6
accepted Detecting a double-quote-enclosed string with double-quote and backslash escaping, in a Perl Compatible Regular Expression
Feb
23
comment Detecting a double-quote-enclosed string with double-quote and backslash escaping, in a Perl Compatible Regular Expression
@Attilio yes thanks. Any ideas on the solution?
Feb
23
revised Detecting a double-quote-enclosed string with double-quote and backslash escaping, in a Perl Compatible Regular Expression
added 1 character in body
Feb
23
asked How to "snap selection to word boundaries" with trackpad?
Feb
23
awarded Famous Question
Feb
10
awarded Notable Question
Feb
9
comment How does "do something OR DIE()" work in PHP?
@BrassApparatus Now, looking at my comment 5 years later, I would say the or shortcut is not so bad after all, it's simple, concise and elegant. But the danger of taking for granted than rightmost expressions will get evaluated when they might not still holds. (I would say a good practice is never using as an expression something that produces a side effect, like ++) In every situation that an or shortcut works, a classic if would work too. What I would advise against every time is using die(), one should handle error conditions gracefully.
Feb
5
awarded Famous Question
Jan
29
asked Detecting a double-quote-enclosed string with double-quote and backslash escaping, in a Perl Compatible Regular Expression
Jan
29
awarded Notable Question
Jan
23
answered Javascript unexpected token ] error inside HTML code, how can it be possible?
Jan
23
revised Javascript unexpected token ] error inside HTML code, how can it be possible?
added 182 characters in body
Jan
23
comment Javascript unexpected token ] error inside HTML code, how can it be possible?
Yes, they're loaded properly. This was working in the previous version and no CSS was mistakenly added in a <script src> if that's what you mean.
Jan
23
asked Javascript unexpected token ] error inside HTML code, how can it be possible?
Jan
23
awarded Popular Question
Jan
21
comment Make div 100% height of browser window
I tried this, it's great, but then with absolute positioning, you can't center horizontally with margin-[left|right]: auto
Jan
10
revised What are the pros and cons of a language using whitespace vs. {}'s to indicate scope?
added 321 characters in body
1 2 3 4 5