class_docstr: Reads an svg file and exports paths to a JSON format.
  
  Only segments and Bezier curves are supported
code: def _get_style_attr(self, style, attr):
      pat = f"{attr}:([^;]+)"
      match = re.search(pat, style)
      return match.group(1) if match is not None else None
  
file_path: nilearn/nilearn/plotting/glass_brain_files/svg_to_json_converter.py
imports: import json
  import re
  import sys
label_desc: Use image node_id 2 for calling the SVGToJSONConverter obj's underlying member method code with example usage: obj._get_style_attr(style, attr) and returns: unknown