nl_tokens: Private
pl_tokens: function formatInfos ( infos ) { var cursor = 0 , duration = null , rating = null , genre = null ; if ( infos [ cursor ] . match ( / (1|2|hr|min) / ) ) { duration = infos [ cursor ] . trim ( ) ; cursor ++ ; } if ( infos [ cursor ] . match ( / (G|\+|13|16|18) / ) ) { rating = infos [ cursor ] . trim ( ) ; cursor ++ ; } if ( infos [ cursor ] . match ( / (^\D*$) / ) ) { genre = infos [ cursor ] . trim ( ) ; cursor ++ ; } return { duration : <mask> , rating : rating , genre : genre } ; }