RSS feed | Home

Daniel Brylak on the Adobe Forums: Regular Expressions in CS5.5 – something is wrong and limited to CS5+:

Please correct me, but I think, I found a serious problem with regular Expressions in Indesign CS5.5 (and possibly in other apps from CS5.5).

Let’s start with simple example:

————-
var range = "a-a,a,a-a,a";
var regEx = /(a+-a+|a+)(,(a+-a+|a+))*/;
alert( "Match:" +regEx.test(range)+"\nLeftContext: "+RegExp.leftContext+"\nRightContext: "+RegExp.rightContext );
 ————-

What I expected was true match and the left  and the right context should be empty. In Indesign CS3 that is correct BUT NOT in CS5.5.

In CS 5.5 it seems that the only first “a-a” is matched and the rest is return as the rightContext – looks like big change (if not parsing error in RegExp engine).

Please correct me if I am wrong.

The second example – how to freeze ID CS5.5:

————-
var range = "a-a,a,a-a,a";var regEx = /(a+-a+|a+)(,(a+-a+|a+)){8,}/;
alert( "Match:" +regEx.test(range)+"\nLeftContext: "+RegExp.leftContext+"\nRightContext: "+RegExp.rightContext );
————–

As you can see it differs only with the {8,} part instead of *

Run it in CS5.5 and you will see that the ID hangs (in CS3 of course it runs flawlessly}.

The third example – how to freeze ID 5.5 in one line (I posted it earlier in Photoshop forum because similiar problem was called earlier):

—————
alert((/(n|s)? /gmi).test('s') );
—————

As you can guess – it freezes the CS5.5 (CS3 passes the test).

Please correct me if I am doing something wrong or it’s the problem of Adobe.

Best regards,

Daniel Brylak

Share via emailShare on TwitterShare on TumblrShare on LinkedIn
§38 · November 14, 2011 · Shares · (No comments) · Tags:


Interview With John Paton, a Newspaperman Who Thinks Print Is Overrated – NYTimes.com.

NYT: But papers in your chain are giving up control deciding what goes in the newspaper.

(MediaNews and Journal Register CEO John) Paton: They’re still deciding everything that goes in the local pages, they’re still deciding what goes on the front page, they’re simply, basically, pressing buttons to have other people get that done. Nobody is taking over that front page, no one is taking over the fact that the mayor story is less important than the X, Y, Z story.

NYT: Are all your papers going to end up looking the same?

Paton: I think we’re going to end up with three or four common templates depending on the size of the paper, some are tabs, some are broadsheet, and some are square tabs as we call them. That’s the hardest part for me to get over right now, should they be a common template? The smaller the newspaper the easier it is to sell this, the bigger the newspaper, it’s almost impossible and now that we have MediaNews Group, we might end up having to carve out the bigger papers because it’s not good for them. The Denver Post is a much different animal than the Middletown paper, it just is.

Share via emailShare on TwitterShare on TumblrShare on LinkedIn
§36 · November 14, 2011 · Shares · (No comments) · Tags:


‘Community’ benched, ‘Prime Suspect’ gone missing in NBC midseason schedule – The TV Column – The Washington Post.

To the surprise of no one — except rabid “Community” fans — NBC has benched “Community” in order to make room for the return of “30 Rock” Thursdays at 8, in January, the network announced Monday.

Note to “Community” fans: Tina Fey having been interviewed by Brian Williams last Monday on the second episode of his new newsmag “Rock Center” about the return of her comedy series was a clue.

In other mid-season NBC schedule news: the network’s laugh-tracked sitcom “Whitney” and its girl-parts gags are moving to 8 p.m. Wednesdays, paired with new comedy “Are you There, Chelsea?” — based on Chelsea Handler’s book, “Are you There, Vodka? It’s Me, Chelsea.”

Share via emailShare on TwitterShare on TumblrShare on LinkedIn
§34 · November 14, 2011 · Shares · (No comments) ·


Yates to direct bigscreen ‘Doctor Who’ – Entertainment News, Film News, Media – Variety.

LONDON — “Harry Potter” director David Yates is teaming up with the BBC to turn its iconic sci-fi TV series “Doctor Who” into a bigscreen franchise.

Yates, who directed the last four Potter films, told Daily Variety that he is about to start work on developing a “Doctor Who” movie with Jane Tranter, BBC Worldwide’s L.A.-based exec VP of programming and production.

“We’re looking at writers now. We’re going to spend two to three years to get it right,” he said. “It needs quite a radical transformation to take it into the bigger arena.”

“Doctor Who” follows the adventures across space and time of a super-intelligent alien in human form, who battles a variety of cosmic bad guys aided by plucky human companions.

“The notion of the time-travelling Time Lord is such a strong one, because you can express story and drama in any dimension or time,” Yates said.

Let’s play “Count the Fails”

  1. This didn’t work the last time at all
    1. Re-cast it with good actors and you’ll needlessly damage their careers as it stumbles and falls (Paul McGann)
    2. Re-cast it with bad actors and you’ll create a stained mockery that is derided for decades (Eric Roberts)
    3. “It needs quite a radical transformation to take it into the bigger arena” suggests fuck-all was learned from 1996
  2. Fans will reject it, won’t go
    1. and might abandon the franchise altogether, again, especially if it takes the apparently unrelated TV series down with it
  3. Mainstream non-fans will yawn at the reference, won’t go
  4. The internally conflicting canon is integral to the show, not something to flush
  5. Just because the “Star Trek” reboot wasn’t a failure doesn’t mean it
    1. was a long-term good idea (how’s that rebooted franchise going)
    2. would work with something that doesn’t have immediate global recognition
    3. didn’t suck in ways that associated the franchise with stupid shit (lens flare, Beastie Boys)
  6. “Yates made clear his movie adaptation would not follow on from the current TV series, but would take a completely fresh approach to the material” acknowledges that:
    1. Actually, no, they didn’t learn anything from the “Star Trek” reboot either
    2. the BBC really, really doesn’t want to do Doctor Who any more — if they did, they wouldn’t say, “Ignore everything from the last six (and/or 50) years that we’ve promoted and pay attention to this shiny new crap” — and is basically putting it up for grabs to anyone who wants to take it off their hands, so long as you don’t do anything that’s been successful for the last decade
Share via emailShare on TwitterShare on TumblrShare on LinkedIn
§30 · November 14, 2011 · Blog · (No comments) · Tags:


Somerville announces recycling toter photo contest for residents – Somerville, Massachusetts 02144 – Somerville Journal.

Residents are invited to submit their best, their silliest, and their most inspiring photos of their new Zero-Sort toter by Thursday, Dec. 1.  Contest participants will be competingfor a “once-in-a-lifetime” grand prize including:

  • Recycling pick up by Mayor Curtatone himself
  • A special live performance by Somerville’s own Jimmy Del Ponte, with his original song, “The Love Tote,” along with his backup singers, The Trashmen
  • Autographed copy of “The Love Tote” with bonus track “The Zero-Sort Song”
  • A $50 gift certificate to the Somerville Winter Farmers Market
  • Official Certificate of Exemplary Zero-Sortness (printed on recycled paper)

Photo entries must feature a new Zero-Sort toter, and will be judged on their creativity, educational value, artistic merit and entertainment impact.

Share via emailShare on TwitterShare on TumblrShare on LinkedIn
§28 · November 14, 2011 · Shares · (No comments) ·