Understanding Julia docs: Where is Base.Regex type documented?


I was hoping to find docs for Base.Regex type and its constructor in the “Base” module.

However I find it here


Even that in a “strings” topic.

Broadly, how do I navigate to the “type” documentation, when it is applicable?

Or if I know a type name, is there a documentation navigation scheme I can use to get there?

Appreciate your time

You should do ?Regex in the REPL for more specific documentation about a certain type, I think.

1 Like

Also, a more complete explanation about how to make and use regular expressions is here:

There you’ll also find examples about how to use the Regex constructor if you need it. (Except in the case of interpolation, the macro you cited is normally enough.)

1 Like