why this regular does not Match the html using python
the html is :

    <div style="background-color:#A7A7A7;text-align:center;">
    <span style="color:#FFFFFF;">{{rk_user.name}}のｽﾃｰﾀｽ</span>
    </div>

my Regular is :

    a = r'''
    <div style="background-color:#([a-z0-9]+);text-align:center;">
    \s*<span style="color:#(.+?);">(.+)</span>
    </div>
    '''

but this Regular does not Match the html ,

so what is wrong  ?


thanks
why this regular does not Match the html using python
===

the html is :

    <div style="background-color:#A7A7A7;text-align:center;">
    <span style="color:#FFFFFF;">{{rk_user.name}}のｽﾃｰﾀｽ</span>
    </div>

my Regular is :

    a = r'''
    <div style="background-color:#([a-z0-9]+);text-align:center;">
    \s*<span style="color:#(.+?);">(.+)</span>
    </div>
    '''

but this Regular does not Match the html ,

so what is wrong  ?


thanks