Search results

Page title matches

Page text matches

  • ...goes to the webpage specified and scrapes a string which is analysed with regex. The important bits are assigned to variables after being extracted (x posi * How to specify what is printed when regex doesn't find a match? Currently just getting a 'foo is undefined' error mes
    1 KB (223 words) - 18:38, 18 March 2012
  • Uses a regex to scrape ship's current location and convert to a %, controlling the opaci Regex currently breaking for unknown reason.
    2 KB (246 words) - 02:44, 3 December 2011
  • [[Category:Regex]]
    118 bytes (19 words) - 13:48, 17 November 2011
  • # grabs the most up-to-date lat & long using a regex, then prints the longitude # grabs the most up-to-date lat & long using a regex, then prints the longitude
    1,001 bytes (156 words) - 18:42, 1 December 2011
  • <li> Step 3. break up the file into sentences using a regex and uploaded periodically to Facebook page. </li>
    418 bytes (60 words) - 18:01, 9 December 2013
  • 2 ways to use each function (direct and via a "compiled" regex object) Using Locale specific RegEx
    2 KB (296 words) - 21:33, 23 September 2010
  • patTitle = re.compile('<title>(.*)</title>') # regex for text between title tags, in capture parentheses listOfParagraphs = soup.findAll('p') # we use a regex to find all the p tags - beautiful soup parses them so no need f$
    3 KB (492 words) - 19:11, 24 October 2012
  • ...script recieves a url from a form, scrapes it, extracts relevant bits with regex, and writes relevant bits to a text file. #--------- extract the string with regex; write it to text file------------#
    2 KB (284 words) - 19:39, 28 March 2012
  • * Searching for specific phrases (using regex) on specific sites
    713 bytes (119 words) - 23:26, 18 January 2012
  • longitude = str(002.9999) # must be a string for regex to work
    1,001 bytes (130 words) - 15:22, 30 November 2011
  • ...leanorg/Thematic1.1/Get Ship Position 2 - Regex | Grabs ship position with regex]]
    2 KB (310 words) - 02:33, 15 December 2011
  • longitude = str(001.2528) # must be a string for regex to work
    920 bytes (124 words) - 16:45, 30 November 2011
  • ...he list of URLs, and to check whether there is a string there matching the regex. #-------------- extract the string with regex------------#
    6 KB (837 words) - 13:56, 31 March 2012
  • Some RegEx options:
    1 KB (206 words) - 23:28, 15 October 2023
  • // if it includes your audio format (regex)
    2 KB (213 words) - 14:09, 24 October 2023
  • the vocabulary file contains tuple pairs: (regex, possible replies) #regex will select from 'Why are you happy?' the string 'are you happy?'
    8 KB (1,245 words) - 00:51, 23 November 2012
  • longitude = str(getlong()) #must be a string for regex to work
    2 KB (290 words) - 02:45, 3 December 2011
  • ...longitude = str(m[1]) # must be a string for next regex to work
    3 KB (336 words) - 19:16, 14 December 2011
  • An I will use regex to remove the "Straße" from all the ''tag'' elements within my .osm file
    2 KB (324 words) - 20:16, 13 March 2013
  • An I will use regex to remove the "Straße" from all the ''tag'' elements within my .osm file
    2 KB (324 words) - 20:15, 13 March 2013
  • # Use Regex to remove punctuation and isolate words
    3 KB (428 words) - 09:53, 15 June 2018
  • longitude = str(001.2528) # must be a string for regex to work
    3 KB (360 words) - 02:25, 15 December 2011
  • pat = r"(\d\d\d),(\d\d\d),(\d\d\d)," # use dirty dirty regex to manually convert rgb result to a tuple # TODO change regex method to only scrape the first instance of string on a page
    14 KB (1,999 words) - 16:09, 3 August 2012
  • Match name of user <code>.query.allusers[].name</code> that star with 0 - regex: "^0.*"
    6 KB (878 words) - 22:10, 18 November 2019
  • * [[PythonRegEx |Regex]] - Python * [[Finding capitalized words]] - Python, regex
    10 KB (1,455 words) - 14:48, 29 September 2023
  • ##TODO add backslashes to user's string before performing regex
    9 KB (1,355 words) - 15:00, 21 June 2012
  • ...and I had my few moments of epiphany, like when I discovered how to loop a regex over a batch of 74 files, instead of having to do it by hand.</small>
    9 KB (1,513 words) - 18:22, 1 April 2016
  • * Learnt how to grab live ship position using regex .findall() method * Plug in regex-grabbed longitude to % calculator (need to limit number of digits)
    38 KB (6,165 words) - 14:04, 6 December 2011
  • p= re.compile(r"^(\d\d\:\d\d) \((.*?)\)\: (.*)") # regex for capturing groups: time, character, sentence
    10 KB (1,569 words) - 12:04, 13 October 2017
  • We also learned about Regular Expressions [or RegEx], which are tools to do advanced search and replace in the terminal.
    11 KB (1,899 words) - 17:15, 1 April 2024
  • ...form where ppl can submit their url, which is then used as the url for the regex match. * Figure out how to print custom content when a regex matches nothing
    27 KB (4,578 words) - 17:37, 3 April 2012
  • //ugly regex hack for validating image
    31 KB (3,219 words) - 12:17, 3 April 2012
  • * With: regex, pdfposter (A0 > A3's), multiple stylesheets (all/screen/print), color sepa
    5 members (0 subcategories, 2 files) - 23:19, 13 September 2022
  • ...A.pdf Link to the syllabus of my Languages and Automata class], which uses RegEx as an entrypoint to automata theory.
    56 KB (9,536 words) - 12:22, 10 March 2024