class_docstr: Process ordered list blocks. 
class_docstr_tok: ["Process","ordered","list","blocks","."]
docstr: Break a block into list items. 
docstr_tok: ["Break","a","block","into","list","items","."]
code: def get_items(self, block: str) -> list[str]:
      """Break a block into list items."""
      items = []
      for line in block.split("\n"):
          m = self.CHILD_RE.match(line)
          if m:
              # This is a new list item
              # Check first item for the start index
              if not items and self.TAG == "ol":
                  # Detect the integer value of first list item
                  INTEGER_RE = re.compile(r"(\d+)")
                  self.STARTSWITH = INTEGER_RE.match(m.group(1)).group()
              # Append to the list
              items.append(m.group(3))
          elif self.INDENT_RE.match(line):
              # This is an indented (possibly nested) item.
              if items[-1].startswith(" " * self.tab_length):
                  # Previous item was indented. Append to that item.
                  items[-1] = "{}\n{}".format(items[-1], line)
              else:
                  items.append(line)
          else:
              # This is another line of previous item. Append to that item.
              items[-1] = "{}\n{}".format(items[-1], line)
      return items
  
imports: from __future__ import annotations
  import logging
  import re
  import xml.etree.ElementTree
  from typing import TYPE_CHECKING, Any
  from .None import util
  from .blockparser import BlockParser
label_desc: Use image node_id 4 for calling the OListProcessor obj's underlying member method code with example usage: obj.get_items(block) and returns: items