Jump to content

Search in paragraph's text: Difference between revisions

→‎{{header|Raku}}: Add a Raku example
(→‎{{header|Raku}}: Add a Raku example)
Line 121:
</lang>
Note : 1st awk is used to search for an expression (regular or not) within paragraphs, and 2nd awk is used for formatting
 
 
=={{header|Raku}}==
Just use the same technique as already thoroughly explored in tasks [[Retrieve_and_search_chat_history#Raku|Retrieve and search chat history]] and [[XXXX_redacted#Raku|XXXX redacted]] among many others.
<lang perl6>.say if $paragraph.contains: 'whatever';</lang>
10,333

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.