chevrons or angle brackets latex 1

chevrons or angle brackets latex

$\langle$ for the left angle bracket (chevron)
$\rangle$ for the right angle bracket (chevron)

Here is what the above code is Doing:
1. We’re importing the re module, which contains the regular expression tools.
2. We’re creating a Regex object with the re.compile() function. (Remember to use a raw string!)
3. We’re passing the string we want to search into the Regex object’s search() method. This returns a Match object.
4. Call the Match object’s group() method to return a string of the actual matched text.

Similar Posts