Twitter / diyism (1) RT @ralphholzmann: TIL in JS, if you split on a regex with a capture group, it gets added to the result. "foo.bar".split(/(\.)/g); // ["foo", ".", "bar"] |
| Posted: 29 Mar 2012 06:55 PM PDT RT @ralphholzmann: TIL in JS, if you split on a regex with a capture group, it gets added to the result. "foo.bar".split(/(\.)/g); // ["foo", ".", "bar"] |
| You are subscribed to email updates from diyism - Twitter Search To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
| Google Inc., 20 West Kinzie, Chicago IL USA 60610 | |
No comments:
Post a Comment