Can Android package names contain only letters and periods? -
i'm trying scrape data www.apkmirror.com includes package name of apps. example, below
the package name "com.lenovo.anyshare.gps
". i'm considering whether use pyparsing expression
word(alphas + ".")
for package name, meaning [a-za-z.]
regular expression. ok, or restrictive in cases? (i wasn't able find restrictions on package name on https://developer.android.com/studio/build/application-id.html).
following commonsware's comment, i'm assuming moment character allowed except whitespace. (i've updated regular expression \s+
, since there should @ least 1 character).
Comments
Post a Comment