有以下字符串: {"2017":4.59,"2018":4.77,"2019":5.312,"index":"每股净资产(元)","2013":3.1,"2014":3.481,"2015":3.83,"2016":4.24,"2012":2.73,"2011":2.43,"2010":2.14},{"2017":0.15,"2018":0.16,"2019":0.17,"index":"每股收益(元)","2013":0.14,"2014":0.16,"2015":0.16,"2016":0.15,"2012":0.13,"2011":0.12,"2010":0.1},{"2017":0.48,"2018":0.48,"2019":0.48,"index":"每股资本公积金(元)","2013":0.44,"2014":0.43,"2015":0.48,"2016":0.48,"2012":0.43,"2011":0.43,"2010":0.33}
相实现结果:{"2017":0.15,"2018":0.16,"2019":0.17,"index":"每股收益(元)","2013":0.14,"2014":0.16,"2015":0.16,"2016":0.15,"2012":0.13,"2011":0.12,"2010":0.1}
我的表达式是:(?i)\{.*?每股收益.*\}
得到的结果却是整个原字符串,问题出在哪,请教各位了。
|