<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[shashag]]></title><description><![CDATA[程序girl]]></description><link>https://blog.youkuaiyun.com/shashagcsdn</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shashagcsdn]]></copyright><item><title><![CDATA[Vue2学习答疑]]></title><link>https://blog.youkuaiyun.com/shashagcsdn/article/details/80137288</link><guid>https://blog.youkuaiyun.com/shashagcsdn/article/details/80137288</guid><author>shashagcsdn</author><pubDate>Sat, 28 Apr 2018 17:08:22 +0800</pubDate><description><![CDATA[记录Vue学习过程中的一些疑问和解答。



参考文档


Vue2官方教程
ECMAScript 6教程
打造 Vue.js 可复用组件规范


slot插槽

之前从未接触过slot的概念，看官方文档时，完全无法理解。最后通过这篇文章《深入理解vue中的slot与slot-scope》顿悟了。主要的几个概念点如下：


插槽，也就是slot，是组件的一块HTML模板，这块模板显示不显示、以及怎...]]></description><category></category></item><item><title><![CDATA[正则表达式－－ (?:pattern)与(?=pattern)的区别]]></title><link>https://blog.youkuaiyun.com/shashagcsdn/article/details/80017678</link><guid>https://blog.youkuaiyun.com/shashagcsdn/article/details/80017678</guid><author>shashagcsdn</author><pubDate>Fri, 20 Apr 2018 13:48:44 +0800</pubDate><description><![CDATA[学习正则表达式时，对(?:pattern)与(?=pattern)的区别做个记录。



官方定义


  (pattern) ： 匹配 pattern 并获取这一匹配，所获取的匹配可以从产生的 Matches 集合得到。 
  (?:pattern) ：匹配 pattern 但不获取匹配结果，也就是说这是一个非获取匹配，不进行存储供以后使用。 
  (?=pattern) ：正向预查，在任何匹配...]]></description><category></category></item></channel></rss>