Pablo

South Korea

3h
comment What's the use of reachability in AFNetworking?
to solve the problem the way described here I have to use other facility. Using other facility is not what I asked. I specifically mentioned AFURLSessionManager and Reachability.
14h
awarded Notable Question
15h
comment What's the use of reachability in AFNetworking?
This doesn't answer my question since in the post there is nothing about AFURLSessionManager and Reachability. My question is how to recover session after error and whether it's possible at all, how to incorporate this with Reachability.
1d
accepted App is freezing on startup when using WebClient
1d
comment App is freezing on startup when using WebClient
I just guess that alternatively I can set proxy params from my own application. Querying IE properties might be the case for blocking operations. Prevent this query may solve the issue.
1d
comment App is freezing on startup when using WebClient
I'm using .NET Framework 4
1d
comment App is freezing on startup when using WebClient
I was lucky this particular task doesn't require proxy. What if I need to use proxy?
1d
comment App is freezing on startup when using WebClient
Wow, it seems like this one solved the issue. I will test a little more though!
1d
asked App is freezing on startup when using WebClient
1d
accepted Negative lookbehind or something else?
1d
comment Negative lookbehind or something else?
it is matching, thanks a lot!
1d
accepted How to batch rename files on Ubuntu?
1d
revised Negative lookbehind or something else?
added 10 characters in body
1d
comment Negative lookbehind or something else?
@Fede: almost there, just need to stick with 3 capturing groups I had initially for base name(in your regex it captures only 1 letter), suffix(~ipad etc) and extension.
1d
comment Negative lookbehind or something else?
yes, but instead including [a-z\d] I should exclude _t _c etc...
1d
comment Negative lookbehind or something else?
there we go! now this is what I was looking for.
1d
comment Negative lookbehind or something else?
Lines containing _c, _t etc.
1d
comment Negative lookbehind or something else?
Unfortunately he deleted his answer for some reason. Anyway, I modified a little his version ^(\w(?!_(?:cover|thumb|t|c)))+(@2x|~ipad|@2x~ipad)+\.(jpg|png)$ and here I only miss one part! First capturing group should capture string from the beginning, but it does capture only 1 character.
1d
comment Negative lookbehind or something else?
georg's answer is perfectly discarding those unwanted items, but there I lose my old capturing groups.
1d
comment Negative lookbehind or something else?
I think we are not on the same page. You can see in your screenshot that the first part of "discarded" line is still captured. I need to completely ignore those lines. In your regex they are matching!
1 2 3 4 5