revisiting the "What am I running on?" question

songbird songbird at
Sun Feb 17 22:08:46 EST 2019

songbird wrote:
>     result ="^/(tmp)|(var)|(usr)|(opt)|(home)", sysprobetmp)

  i changed that line to:

     result ="^/((tmp)|(var)|(usr)|(opt)|(home))", sysprobetmp)

  just to make sure the leading slash is not just grouped
with the first string.  i like to be more explicit with
my precedence if i'm not sure what the language might
actually do...  :)


More information about the Python-list mailing list