lyoutakoduka / spartaproject

MIT License
0 stars 0 forks source link

Take out Name, Index Number, and Suffix by using Split Identifier from Base Name. #41

Closed lyoutakoduka closed 5 months ago

lyoutakoduka commented 5 months ago

Define of words

Base Name: "name_v001a" Split Identifier: "_" Name: "name" Index: "v001a" Index Number: 1

Acceptable variation of Base Name

Split Identifier is currently only Under bar. "_": "first_v001a"

Base Name is able to include any Split Identifier. "first" "first_v001a" "first_second_v001a"

Base Name is able to include Index, and it 's only single and placed to ends of Base Name. "first" "first_v001a"

Index is able to include any characters. "001" "v001" "v001a"

Index is able to have any digit. "1" "001"

Returned data structure

class structure_name(TypedDict):
    name: str # Name
    index: int # Index Number
lyoutakoduka commented 5 months ago

Stop supporting suffix element.