How do I get just the pkg version in pkg-search results?

From: <list_freebsd_at_bluerosetech.com>
Date: Fri, 22 Mar 2024 07:10:53 UTC
I can do a search like this:

# pkg search -qe -S name sqlite3
sqlite3-3.45.1,1

But all I need is the version string.  If the version field was exposed 
like other fields, I could do this:

# pkg search -qe -S name -L version sqlite3
3.45.1,1

But that's not (currently) an option.

Is it guaranteed that a version string never contains '-'?  That is, is 
the last '-' in the pkg-name string always going to be the delimiter 
between the name-flavor substring, and the version substring?