diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-10-04 22:19:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-04 22:19:07 +0300 |
commit | 2d65472c725f18b343aee00bf91b9ac98c08b95f (patch) | |
tree | 530a0d6ffee4ee96e875302cbeba660c93056d41 /docs/markdown/Syntax.md | |
parent | 75dd9fb67f793c687fa45744f3b276e35c87ca09 (diff) | |
parent | b672ebca886dd6dc9b0f775eb769764750fd302c (diff) | |
download | meson-2d65472c725f18b343aee00bf91b9ac98c08b95f.zip meson-2d65472c725f18b343aee00bf91b9ac98c08b95f.tar.gz meson-2d65472c725f18b343aee00bf91b9ac98c08b95f.tar.bz2 |
Merge pull request #8960 from mensinda/yamlDoc
Reference Manual 2.0
Diffstat (limited to 'docs/markdown/Syntax.md')
-rw-r--r-- | docs/markdown/Syntax.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index 897d55b..8f32765 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -159,7 +159,7 @@ joined = 'C:\\foo\\bar' / 'builddir' # => C:/foo/bar/builddir joined = 'C:\\foo\\bar' / 'D:\\builddir' # => D:/builddir ``` -Note that this is equivalent to using [`join_paths()`](Reference-manual.md#join_paths), +Note that this is equivalent to using [[join_paths]], which was obsoleted by this operator. ### Strings running over multiple lines @@ -260,6 +260,9 @@ string = 'xyxHelloxyx'.strip('xy') # 'string' now has the value 'Hello' ``` +Since 0.43.0, you can specify one positional string argument, +and all characters in that string will be stripped. + #### .to_upper(), .to_lower() ```meson @@ -452,7 +455,7 @@ Dictionaries are immutable and do not have a guaranteed order. Dictionaries are available since 0.47.0. -Visit the [Reference Manual](Reference-manual.md#dictionary-object) to read +Visit the [[@dict]] objects page in the Reference Manual to read about the methods exposed by dictionaries. Since 0.49.0, you can check if a dictionary contains a key like this: |