node-modules/emoji

export the regexp

Closed this issue · 13 comments

i want to search throughout the documents, find any emojis, then replace them with the image. however, i'm not totally sure how to even find them right now. seems like the best way is to export these regexps via https://github.com/fengmk2/emoji/blob/master/lib/emoji.js#L779, then i can handle the searching myself.

how about exporting the regular expressions as lazy getters?

cool, just do it
2014年2月18日 PM4:31于 "Jonathan Ong" notifications@github.com写道:

i want to search throughout the documents, find any emojis, then replace
them with the image. however, i'm not totally sure how to even find them
right now. seems like the best way is to export these regexps via
https://github.com/fengmk2/emoji/blob/master/lib/emoji.js#L779, then i
can handle the searching myself.

how about exporting the regular expressions as lazy getters?


Reply to this email directly or view it on GitHubhttps://github.com//issues/7
.

oh man. seems like all your stuff is for the chinese market and getters are not supported in < IE9. should i just fork it? i can do it with regular functions, but it will look ugly...

HMM, I only support Chrome and Node.js. I think lazy getters is better.

w00t! let me make a PR

@jonathanong we don't care the fucking IE678. lol

hahaha i just went through all the links in the readme and only saw chinese, so i thought, "oh no, i've stumbled upon ie6 territory"

Closed by #8

@jonathanong I've tweeted(weibo) the author of staticfile.org, let him give out the English version home page... T_T

yes please! i wanted to read about seajs too but that's in chinese as well

@lifesinger is the author of seajs :)

it's like i've discovered a whole other side of github

@jonathanong a new world behind the WALL

@jonathanong staticfile.org English home page come out http://www.staticfile.org/index_en.html by @sofish