I am new for Python. I have a file with the following content

```
#define VKU_BS_MAJOR_VERSION_S "2"
#define VKU_BS_MINOR_VERSION_S "0"
#define VKU_BS_BUILD_NUMBER_S "55"

```

And i want to extract 2, 0 and 55. After it I want to increment these values and write them back to the file. But I simply can't obtain them.

I tried this:

```
buildInfoFile = open(buildInfoFilePath, "r")
content = buildInfoFile.read()
buildMajorRegex = re.compile("VKU_BS_MAJOR_VERSION_S \"(\\d+)\"", re.MULTILINE)
match = buildMajorRegex.match(content);
print(match)

```

Which prints

> 
> None
> 
> 
> 

But I've checked my regular expression at regex101 and it works fine. What am I doing wrong?

And also - what is the best way to increment the values and put them back to 'content'?